Skip to content

Commit e544756

Browse files
committed
Travis: Workaround travis-ci/travis-ci#8552
1 parent 7168263 commit e544756

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.travis.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ matrix:
99
script: make publish
1010
- os: osx
1111
mono: latest
12-
before_install: brew install hudochenkov/sshpass/sshpass
12+
before_install: if [ "$TRAVIS_OS_NAME" == "osx" ]; then brew update; brew install hudochenkov/sshpass/sshpass; fi
1313
script: make publish
1414

1515
#Test builds
@@ -20,7 +20,7 @@ matrix:
2020
script: make all-release
2121
- os: osx
2222
mono: latest
23-
before_install: brew install hudochenkov/sshpass/sshpass
23+
before_install: if [ "$TRAVIS_OS_NAME" == "osx" ]; then brew update; brew install hudochenkov/sshpass/sshpass; fi;
2424
script: make all-release
2525
- os: linux
2626
dist: precise
@@ -37,7 +37,7 @@ matrix:
3737
solution: OpenBVE.sln
3838
- os: osx
3939
mono: latest
40-
before_install: brew install hudochenkov/sshpass/sshpass
40+
before_install: if [ "$TRAVIS_OS_NAME" == "osx" ]; then brew update; brew install hudochenkov/sshpass/sshpass; fi;
4141
solution: OpenBVE.sln
4242
- os: linux
4343
dist: precise

0 commit comments

Comments
 (0)