.travis.yml in watir_framework-0.1.4 vs .travis.yml in watir_framework-0.1.5
- old
+ new
@@ -1,5 +1,20 @@
-sudo: false
+sudo: required
+dist: trusty
language: ruby
+addons:
+ firefox: latest
rvm:
- - 2.2.9
-before_install: gem install bundler -v 1.13.6
+ - 2.2.6
+cache: bundler
+before_script:
+ - export CHROME_BIN=/usr/bin/google-chrome
+ - export DISPLAY=:99.0
+ - sh -e /etc/init.d/xvfb start
+ - sudo apt-get update
+ - sudo apt-get install -y libappindicator1 fonts-liberation
+ - wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
+ - sudo dpkg -i google-chrome*.deb
+script: bundle exec rake spec
+env:
+ - BROWSER=chrome
+ - BROWSER=firefox