Skip to content

Commit

Permalink
Update Travis file to request GCC 4.9
Browse files Browse the repository at this point in the history
The JSON library requires at least GCC 4.9
  • Loading branch information
Hugues Evrard committed May 18, 2017
1 parent 8a34770 commit d9c6f30
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,14 @@ env:
global:
- CMAKE_GENERATOR="Unix Makefiles" CMAKE_OPTIONS=" "

addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- gcc-4.9
- g++-4.9

matrix:
include:
- os: linux
Expand All @@ -18,6 +26,7 @@ matrix:
install:
- buildscripts/1-install-deps-travis.sh
- export PATH="/data/bin:$PATH"
- if [ "$CXX" = "g++" ]; then export CXX="g++-4.9" CC="gcc-4.9"; fi

script:
- CMAKE_BUILD_TYPE=Debug buildscripts/2-build-travis.sh
Expand All @@ -26,5 +35,3 @@ script:
after_success:
- CMAKE_BUILD_TYPE=Debug buildscripts/3-release-travis.sh
- CMAKE_BUILD_TYPE=Release buildscripts/3-release-travis.sh


0 comments on commit d9c6f30

Please sign in to comment.