Skip to content

Fix the Travis CI build #277

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ cache:
- vendor/bundle
- travis_phantomjs
- test/vcr_cassettes
sudo: false
rvm:
- "2.4.1"
notifications:
Expand All @@ -22,7 +21,7 @@ before_install:
tar -xvf $PWD/travis_phantomjs/phantomjs-2.1.1-linux-x86_64.tar.bz2 -C $PWD/travis_phantomjs;
fi
- "export DISPLAY=:99.0"
- "sh -e /etc/init.d/xvfb start"
- gem install bundler -v 1.17.3
script:
- bundle exec rubocop
- bundle exec rake test
Expand All @@ -40,6 +39,7 @@ after_success:
echo "\\nDeploy finished! Check deploy logs on server.";
fi
addons:
postgresql: "9.3"
postgresql: "9.6"
services:
- redis-server
- xvfb