From 589e1961d8666f677efb5c0f96fc48f2e61da367 Mon Sep 17 00:00:00 2001 From: Phuntsok Drak-pa Date: Thu, 3 May 2018 12:29:37 +0200 Subject: [PATCH] testing travis-ci #9 --- .travis.yml | 18 +++++------------- 1 file changed, 5 insertions(+), 13 deletions(-) diff --git a/.travis.yml b/.travis.yml index e687e0d..3f34f72 100644 --- a/.travis.yml +++ b/.travis.yml @@ -9,7 +9,7 @@ addons: - ubuntu-toolchain-r-test - llvm-toolchain-trusty-5.0 packages: - - g++-6 + - g++-7 - clang-5.0 matrix: @@ -30,23 +30,15 @@ matrix: - env: BUILD_TYPE=Debug BIN_DIR=debug + CC=gcc-7 + CXX=g++-7 compiler: gcc - before_install: - - sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test - - sudo apt-get update -qq - install: - - sudo apt-get install -qq g++-6 - - sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-6 90 - env: BUILD_TYPE=Release BIN_DIR=bin + CC=gcc-7 + CXX=g++-7 compiler: gcc - before_install: - - sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test - - sudo apt-get update -qq - install: - - sudo apt-get install -qq g++-6 - - sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-6 90 script: - cd build - cmake -DCMAKE_BUILD_TYPE=$BUILD_TYPE ..