From cefac1c62a0f669d48c89047ece8e60e0781e941 Mon Sep 17 00:00:00 2001 From: Gunther Brunner Date: Fri, 2 Oct 2015 15:22:47 +0900 Subject: [PATCH] Add ubuntu-toolchain to travis. Latest GCC supported version is 4.9. --- .travis.yml | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/.travis.yml b/.travis.yml index 2327c003..ba729c43 100644 --- a/.travis.yml +++ b/.travis.yml @@ -9,16 +9,18 @@ node_js: - "0.10" addons: apt: + sources: + - ubuntu-toolchain-r-test packages: - - libzmq3-dev - - libprotobuf-dev - - graphicsmagick - - rethinkdb - - g++-5.2 - - yasm + - libzmq3-dev + - libprotobuf-dev + - graphicsmagick + - rethinkdb + - g++-4.9 + - yasm before_install: - - if [ "${TRAVIS_OS_NAME}" == "linux" ]; then export CXX=g++-5.2; fi - - if [ "${TRAVIS_OS_NAME}" == "osx" ]; then brew install yasm; fi + - if [ "${TRAVIS_OS_NAME}" == "linux" ]; then export CXX=g++-4.9; fi + - if [ "${TRAVIS_OS_NAME}" == "osx" ]; then brew install yasm; fi script: - gulp build before_script: