Skip to content

Commit

Permalink
Travis: Bump MacOS GCC versions and allow them to fail
Browse files Browse the repository at this point in the history
Sadly, GCC support on MacOS is flaky and I don't care for errors in
homebrew packages. And I don't know of any MacOS GCC users, so just
ignore failures.

Signed-off-by: Matthias Kretz <kretz@kde.org>
  • Loading branch information
mattkretz committed Sep 13, 2018
1 parent 774317c commit 2197011
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@ matrix:
- env: arch=x86_64 CXX_VERSION=default
os: osx
compiler: gcc
allow_failures:
- os: osx
compiler: gcc

# The following gives us Ubuntu 14.04 LTS instead of 12.04 LTS
sudo: required
Expand Down Expand Up @@ -67,15 +70,13 @@ install:
osx-g++-current-x86_64)
brew cask uninstall oclint &&
brew update &&
brew install gcc6 &&
export CXX=g++-6 CC=gcc-6;;
brew install gcc@8 &&
export CXX=g++-8 CC=gcc-8;;
osx-g++-previous-x86_64)
brew cask uninstall oclint &&
brew update &&
brew install gcc5 &&
export CXX=g++-5 CC=gcc-5;;
osx-g++-default-x86_64)
export CXX=g++-4.9 CC=gcc-4.9;;
brew install gcc@7 &&
export CXX=g++-7 CC=gcc-7;;
osx-clang++-current-x86_64)
wget http://releases.llvm.org/4.0.0/clang+llvm-4.0.0-x86_64-apple-darwin.tar.xz &&
tar xf clang+llvm-4.0.0-x86_64-apple-darwin.tar.xz &&
Expand Down

0 comments on commit 2197011

Please sign in to comment.