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