Skip to content
This repository has been archived by the owner on Jul 8, 2020. It is now read-only.

Commit

Permalink
#487 travis, run protractor - give it another go travis-ci/travis-ci#…
Browse files Browse the repository at this point in the history
  • Loading branch information
gruppjo committed Mar 15, 2017
1 parent 32ed193 commit fc7ed13
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
12 changes: 7 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,16 @@ node_js:
# - google-chrome-stable
before_install:
- npm install -g bower
- sudo apt-get update
- sudo apt-get install chromium-chromedriver
install:
- npm install
- bower install
# before_script:
# - export DISPLAY=:99.0
# - sh -e /etc/init.d/xvfb start
# - npm i -g npm@^3
# - sleep 3 # give xvfb some time to start
before_script:
- "export PATH=$PATH:/usr/lib/chromium-browser/"
- "export DISPLAY=:99.0"
- "sh -e /etc/init.d/xvfb start"
- sleep 3 # give xvfb some time to start
notifications:
email: false
webhooks:
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"node": ">=4.0.0"
},
"scripts": {
"test": "gulp build --minify && gulp karma",
"test": "gulp build --minify && gulp karma && gulp protractor",
"start": "gulp watch",
"watch": "npm start",
"prepare:all": "gulp --cordova 'prepare'",
Expand Down

0 comments on commit fc7ed13

Please sign in to comment.