Skip to content
This repository has been archived by the owner on Jul 5, 2023. It is now read-only.

Commit

Permalink
Improve system detection.
Browse files Browse the repository at this point in the history
Actually, Travis has a special environmental variable which you can use to determine the OS.

Cheers!
  • Loading branch information
0mp authored Nov 5, 2016
1 parent 0450047 commit 10d75a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ os:
- osx
install:
- ./build/install.sh
- if [ "$(uname -s)" != "Darwin" ]; then sudo apt-get update && sudo apt-get install -y zsh; fi
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo apt-get update && sudo apt-get install -y zsh; fi
script:
- ./script/test
notifications:
Expand Down

0 comments on commit 10d75a5

Please sign in to comment.