Skip to content
This repository has been archived by the owner on Dec 7, 2021. It is now read-only.

Commit

Permalink
add conditional to only run unit tests on linux
Browse files Browse the repository at this point in the history
  • Loading branch information
tbarlow12 committed Nov 14, 2018
1 parent ba9315a commit a709bf2
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 @@ -21,9 +21,9 @@ before_script:
- 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
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sleep 3; fi
- npm install
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then npm install; fi
script:
- npm test
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then npm test; fi

before_deploy:
- |
Expand Down

0 comments on commit a709bf2

Please sign in to comment.