diff --git a/.travis.yml b/.travis.yml index 585c304b2..cf17e2c32 100644 --- a/.travis.yml +++ b/.travis.yml @@ -2,7 +2,7 @@ language: node_js env: SKIP_SASS_BINARY_DOWNLOAD_FOR_CI=true -compiler: gcc +compiler: gcc-4.7 node_js: - "iojs-v3" @@ -17,12 +17,13 @@ addons: sources: - ubuntu-toolchain-r-test packages: - - gcc-4.7 - - g++-4.7 + - gcc-4.7 + - g++-4.7 before_install: + - update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-4.7 20 + - update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-4.7 20 - g++ --version - - ls -lsa /usr/bin/g* - git submodule update --init --recursive after_success: npm run-script coverage