Skip to content

Commit a4461cd

Browse files
committed
Fix travis
1 parent 139e282 commit a4461cd

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

.travis.yml

+10-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ before_install:
2222
tar -xvf $PWD/travis_phantomjs/phantomjs-2.1.1-linux-x86_64.tar.bz2 -C $PWD/travis_phantomjs;
2323
fi
2424
- "export DISPLAY=:99.0"
25-
- "sh -e /etc/init.d/xvfb start"
25+
- gem install bundler:1.17.3
2626
script:
2727
- bundle exec rubocop
2828
- bundle exec rake test
@@ -41,5 +41,14 @@ after_success:
4141
fi
4242
addons:
4343
postgresql: "9.3"
44+
apt:
45+
packages:
46+
- postgresql-9.3
47+
- postgresql-client-9.3
48+
- postgresql-contrib-9.3
4449
services:
4550
- redis-server
51+
- xvfb
52+
env:
53+
global:
54+
- PGPORT=5433

0 commit comments

Comments
 (0)