vacaboja / tg

A program for timing mechanical watches
GNU General Public License v2.0
246 stars 60 forks source link

.travis.yml: Work around known bug in travis-ci causing failed mac builds #13

Closed jepler closed 6 years ago

jepler commented 6 years ago

Described at https://github.com/travis-ci/travis-ci/issues/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.

jepler commented 6 years ago

As I don't have a mac I can't in any other way test these changes.

vacaboja commented 6 years ago

Thanks again. I don't have a mac too, but your fix looks robust.