Skip to content

Commit 213129d

Browse files
committed
.travis.yml: Work around known bug in travis-ci
Described at travis-ci/travis-ci#8826 there is a conflict between the gcc compiler and "oclint", which is a 'brew cask' that has been installed automatically before the mac builds start. This is one of the workarounds frequently suggested. The "|| true" anticipates that if 'oclint' were not installed, the removal command might signal failure; we actually want to just continue in this case, because it means upstream has fixed the bug.
1 parent 72faef1 commit 213129d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.travis.yml

+1
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ addons:
2525

2626
before_install:
2727
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
28+
brew cask uninstall oclint || true
2829
brew update;
2930
brew install gtk+3;
3031
brew install portaudio;

0 commit comments

Comments
 (0)