From e18174a3b326bd1a80204be01cf95f9f4a463a08 Mon Sep 17 00:00:00 2001 From: Henne Vogelsang Date: Tue, 16 Jul 2019 23:38:36 +0200 Subject: [PATCH] Update CI to ubuntu xenial and chromium trusty is rather old, living on the edge baby! Also switch to chromium for testing, the latest google-chrome version has problems to start with webdrivers (DevToolsActivePort file doesn't exist). --- .travis.yml | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/.travis.yml b/.travis.yml index 065c60b2..4c73dd49 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,17 +1,19 @@ sudo: required -dist: trusty +dist: xenial +addons: + apt: + packages: + - chromium-browser language: ruby cache: bundler rvm: - - 2.5.0@osem --ignore-gemsets branches: except: - /^depfu/.*$/ before_install: - "echo 'gem: --no-ri --no-rdoc' > ~/.gemrc" - - "echo `phantomjs -v`" -addons: - chrome: stable + - gem uninstall -v '>= 2' -i $(rvm gemdir)@global -ax bundler || true + - gem install bundler -v $(tail -n 1 Gemfile.lock) notifications: email: on_success: change @@ -23,6 +25,7 @@ notifications: on_failure: change before_script: - RAILS_ENV=test bundle exec rake db:bootstrap --trace + - RAILS_ENV=test bundle exec bin/rails webdrivers:chromedriver:update script: - "./travis_script.sh $TEST_SUITE" env: