packager.io centos fixes

This commit is contained in:
André Bauer 2016-10-31 14:12:35 +01:00
parent b898d2de60
commit 65324e99e8
2 changed files with 2 additions and 15 deletions

View file

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