Permalink
Browse files

chore(travis): switch to Chrome, Node.js 4.5.x and Ubuntu "trusty"

Closes #360
  • Loading branch information...
1 parent 11d1b59 commit eddde870c90160eab0f360663e999c5db24793d3 @gkalpak gkalpak committed Aug 25, 2016
Showing with 14 additions and 7 deletions.
  1. +14 −7 .travis.yml
View
@@ -1,14 +1,21 @@
+sudo: required
+dist: trusty
+
language: node_js
node_js:
- - '4.4'
+ - '4.5'
-before_script:
+install:
- export DISPLAY=:99.0
- sh -e /etc/init.d/xvfb start
- - npm start > /dev/null &
- - npm run update-webdriver
- - sleep 1 # give server time to start
+ - wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add -
+ - sudo sh -c 'echo "deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google-chrome.list'
+ - sudo apt-get update -q
+ - sudo apt-get install -q google-chrome-stable
+
+before_script:
+ - npm install
script:
- - node_modules/.bin/karma start karma.conf.js --no-auto-watch --single-run --reporters=dots --browsers=Firefox
- - node_modules/.bin/protractor e2e-tests/protractor.conf.js --browser=firefox
+ - npm run test-single-run
+ - (npm start > /dev/null &) && (npm run protractor)

0 comments on commit eddde87

Please sign in to comment.