Skip to content

Commit 31658e9

Browse files
committed
Use if instead of logical operators.
1 parent 5d62aa1 commit 31658e9

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.travis.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,10 @@ notifications:
3333
# install dependencies (lua, luarocks, ...)
3434
install:
3535
- . .travis/install.sh
36-
- test "`uname -s`" = Linux && sudo apt-get update -qq || true
37-
- test "`uname -s`" = Linux && sudo apt-get install -qq libfltk1.3-dev || true
38-
- test "`uname -s`" = Darwin && brew update || true
39-
- test "`uname -s`" = Darwin && brew install fltk || true
36+
- if [ "`uname -s`" = Linux ]; then sudo apt-get update -qq; fi
37+
- if [ "`uname -s`" = Linux ]; then sudo apt-get install -qq libfltk1.3-dev; fi
38+
- if [ "`uname -s`" = Darwin ]; then brew update; fi
39+
- if [ "`uname -s`" = Darwin ]; then brew install fltk; fi
4040

4141
# build (and test?) the project
4242
script:

0 commit comments

Comments
 (0)