.travis.yml in page-object-2.2 vs .travis.yml in page-object-2.2.1
- old
+ new
@@ -1,23 +1,16 @@
sudo: required
dist: trusty
rvm:
- - 2.2.5
- - 2.3.1
+ - 2.2.7
+ - 2.3.4
+ - 2.4.1
cache: bundler
+addons:
+ chrome: stable
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
- - CHROMEDRIVER_VERSION=$(curl -s http://chromedriver.storage.googleapis.com/LATEST_RELEASE)
- - curl -L -O "http://chromedriver.storage.googleapis.com/${CHROMEDRIVER_VERSION}/chromedriver_linux64.zip"
- - unzip chromedriver_linux64.zip
- - chmod +x chromedriver
- - sudo mv chromedriver /usr/local/bin
script: bundle exec rake $RAKE_TASK
env:
- RAKE_TASK=spec
- RAKE_TASK=features
\ No newline at end of file