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