Merge pull request #337 from monotek/develop

packager.io centos fixes
This commit is contained in:
André Bauer 2016-10-31 14:13:20 +01:00 committed by GitHub
commit 5db05f34b8
2 changed files with 2 additions and 15 deletions

View file

@ -2,9 +2,11 @@ notifications: false
targets:
centos-6:
dependencies:
- nginx
- postgresql-server
centos-7:
dependencies:
- nginx
- postgresql-server
debian-8:
dependencies:
@ -30,5 +32,4 @@ env:
- PORT=3000
services:
- postgres
before_install: contrib/packager.io/preinstall.sh
after_install: contrib/packager.io/postinstall.sh

View file

@ -1,14 +0,0 @@
#!/bin/bash
#
# packager.io preinstall script
#
PATH=/opt/zammad/bin:/opt/zammad/vendor/bundle/bin:/sbin:/bin:/usr/sbin:/usr/bin:
# install epel-release & nginx on centos because it does not work via dependencies
if [ -n "$(which yum)" ]; then
yum install -y -q epel-release
yum install -y -q nginx
fi