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

Commit a709bf2

Browse files
committed
add conditional to only run unit tests on linux
1 parent ba9315a commit a709bf2

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.travis.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,9 @@ before_script:
2121
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then export DISPLAY=:99.0; fi
2222
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sh -e /etc/init.d/xvfb start; fi
2323
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sleep 3; fi
24-
- npm install
24+
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then npm install; fi
2525
script:
26-
- npm test
26+
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then npm test; fi
2727

2828
before_deploy:
2929
- |

0 commit comments

Comments
 (0)