Skip to content

Commit 2ec9c7e

Browse files
committed
try short-circuiting with the test statement
1 parent 0d14509 commit 2ec9c7e

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

.travis.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,9 @@ env:
66
os:
77
- linux
88
- osx
9-
109
script: npm run-script test
1110
before_install:
12-
- if [[ $TRAVIS_OS_NAME == "osx" ]]; then; brew update; brew install nvm; fi
11+
- test $TRAVIS_OS_NAME == "osx" && brew update && brew install nvm
1312
- nvm install $NODE_VERSION
1413
- npm config set spin false
1514
install:

0 commit comments

Comments
 (0)