Skip to content

Commit

Permalink
Only start Xvfb on Linux.
Browse files Browse the repository at this point in the history
  • Loading branch information
octalmage committed May 25, 2016
1 parent efd4ec6 commit 00effc9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@ before_install:

before_script:
# Start xvfb
- export DISPLAY=:99.0
- sh -e /etc/init.d/xvfb start
- if [[ $TRAVIS_OS_NAME == "linux" ]]; then export DISPLAY=:99.0; fi
- if [[ $TRAVIS_OS_NAME == "linux" ]]; then sh -e /etc/init.d/xvfb start; fi

install:
- npm install
Expand Down

0 comments on commit 00effc9

Please sign in to comment.