Fix gcc version typo in travis config.

This commit is contained in:
Jesse Beder
2016-04-01 17:58:36 -05:00
parent c5f6482325
commit 0535811c18

View File

@@ -6,7 +6,7 @@ before_install:
- sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y - sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y
- sudo apt-get update -qq - sudo apt-get update -qq
- if [ "$CXX" = "g++" ]; then sudo apt-get install -qq g++-4.7; fi - if [ "$CXX" = "g++" ]; then sudo apt-get install -qq g++-4.7; fi
- if [ "$CXX" = "g++" ]; then export CXX="g++-4.8" CC="gcc-4.8"; fi - if [ "$CXX" = "g++" ]; then export CXX="g++-4.7" CC="gcc-4.7"; fi
before_script: before_script:
- mkdir build - mkdir build
- cd build - cd build