Skip to content

Commit

Permalink
Travis: update GCC version on OS X build.
Browse files Browse the repository at this point in the history
  • Loading branch information
Chase Geigle committed Aug 20, 2017
1 parent bfdb910 commit 5f04254
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ matrix:
osx_image: xcode8.2
env: COMPILER=clang

# OS X/GCC 6
# OS X/GCC 7
- os: osx
osx_image: xcode7.3
env: COMPILER=gcc
Expand Down
7 changes: 3 additions & 4 deletions travis/install_osx.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,9 @@ else
fi

if [ "$COMPILER" == "gcc" ]; then
brew tap homebrew/versions
brew install homebrew/versions/gcc6
export CC=gcc-6
export CXX=g++-6
brew install gcc@7
export CC=gcc-7
export CXX=g++-7
fi

if [ "$COMPILER" == "clang" ]; then
Expand Down

0 comments on commit 5f04254

Please sign in to comment.