2014-09-08 11:58:23 -05:00
|
|
|
targets:
|
2015-07-09 06:21:07 -05:00
|
|
|
debian-7: &debian
|
2015-07-09 06:14:35 -05:00
|
|
|
build_dependencies:
|
|
|
|
- libpam0g-dev
|
|
|
|
dependencies:
|
|
|
|
- libpam0g
|
|
|
|
- git
|
2015-07-09 06:21:07 -05:00
|
|
|
debian-8:
|
|
|
|
<<: *debian
|
|
|
|
ubuntu-14.04:
|
|
|
|
<<: *debian
|
2014-09-11 04:39:49 -05:00
|
|
|
ubuntu-12.04:
|
2015-07-09 06:21:07 -05:00
|
|
|
<<: *debian
|
|
|
|
centos-6: &el
|
2015-07-09 06:14:35 -05:00
|
|
|
build_dependencies:
|
|
|
|
- pam-devel
|
|
|
|
dependencies:
|
|
|
|
- pam
|
|
|
|
- git
|
2015-07-09 06:21:07 -05:00
|
|
|
centos-7:
|
|
|
|
<<: *el
|
2014-09-09 15:29:39 -05:00
|
|
|
before:
|
|
|
|
- mv packager/Procfile .
|
|
|
|
- mv packager/.godir .
|
2014-09-08 11:58:23 -05:00
|
|
|
after:
|
|
|
|
- mv bin/main gogs
|
2015-12-10 02:55:21 -06:00
|
|
|
after_install: ./packager/hooks/postinst
|