Skip to content

Commit

Permalink
travis-ci: OS X : compile with real gcc 4.9 instead of clang gcc fron…
Browse files Browse the repository at this point in the history
…tend
  • Loading branch information
miniupnp committed Feb 15, 2017
1 parent 7aaa600 commit 8208d87
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,9 @@ compiler:
- gcc
- clang

before_install:
- 'if [ "$TRAVIS_OS_NAME" = "osx" ] && [ "$CC" == "gcc" ] ; then CC=gcc-4.9; fi'

script:
- 'cd $TRAVIS_BUILD_DIR && cd $PROJECT'
- 'MAKEFILE=Makefile && if [ -f Makefile.linux -a "$TRAVIS_OS_NAME" = "linux" ]; then MAKEFILE=Makefile.linux; elif [ -f Makefile.macosx -a "$TRAVIS_OS_NAME" = "osx" ]; then MAKEFILE=Makefile.macosx; fi'
Expand Down

0 comments on commit 8208d87

Please sign in to comment.