Skip to content

Commit dc8be06

Browse files
committed
try to fix travis build
1 parent f310d01 commit dc8be06

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

.travis.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,12 @@
11
sudo: required
22

33
services:
4-
- docker
4+
- docker
5+
6+
before_install:
7+
- docker pull centos:6
8+
- docker pull centos:7
9+
- docker pull debian:7
510

611
script:
712
- make test

tests/check.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ yum install -y tar make rpm-build python2-devel python-setuptools
1414
make rpm && yum install -y mamonsu*.rpm
1515

1616
# install postgres
17-
yum install -y https://download.postgresql.org/pub/repos/yum/9.5/redhat/rhel-7-x86_64/pgdg-centos95-9.5-2.noarch.rpm
17+
yum install -y https://download.postgresql.org/pub/repos/yum/9.5/redhat/rhel-6-x86_64/pgdg-centos95-9.5-3.noarch.rpm
1818
yum install -y postgresql95-server postgresql95-contrib
1919
su postgres -c '/usr/pgsql-9.5/bin/initdb -D /var/lib/pgsql/9.5/data'
2020
su postgres -c '/usr/pgsql-9.5/bin/pg_ctl start -w -D /var/lib/pgsql/9.5/data'

0 commit comments

Comments
 (0)