Skip to content

Commit

Permalink
Enable xvfb for travis Firefox
Browse files Browse the repository at this point in the history
  • Loading branch information
arnaud-dezandee committed May 18, 2015
1 parent d9d4555 commit 7c4fcc9
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions .travis.yml
Expand Up @@ -13,6 +13,10 @@ cache:
directories:
- node_modules

before_install:
- "export DISPLAY=:99.0"
- "sh -e /etc/init.d/xvfb start"

install:
- npm install -g webdriver-manager
- npm install -g codeclimate-test-reporter
Expand All @@ -22,11 +26,11 @@ install:

before_script:
- phantomjs -w > /dev/null &
- sleep 3
- webdriver-manager start &
- sleep 3
- sleep 2
- webdriver-manager start > /dev/null &
- sleep 2
- npm start &
- sleep 3
- sleep 2

script: npm run coverage

Expand Down

0 comments on commit 7c4fcc9

Please sign in to comment.