use gcc 4.9 with travis-ci

This commit is contained in:
Anthony Pesch 2016-04-21 02:47:35 -07:00
parent 6c2621d413
commit 54825cc08c
1 changed files with 16 additions and 13 deletions

View File

@ -1,21 +1,24 @@
language: cpp
os:
- linux
- osx
matrix:
include:
- os: linux
compiler: gcc
addons:
apt:
sources:
- kubuntu-backports
- ubuntu-toolchain-r-test
packages:
- cmake
- gcc-4.9
- g++-4.9
compiler:
- gcc
- clang
addons:
apt:
packages:
- cmake
sources:
- kubuntu-backports
- os: osx
compiler: clang
script:
- if [ "$CC" = "gcc" ]; then export CC="gcc-4.9" CXX="g++-4.9"; fi
- mkdir build
- cd build
- cmake ..