From d34d7098e96134561c9506f846bc7d7104936d7e Mon Sep 17 00:00:00 2001 From: Phuntsok Drak-pa Date: Sun, 8 Apr 2018 15:57:12 +0200 Subject: [PATCH] test --- .travis.yml | 32 +++++++++++++++++++++----------- 1 file changed, 21 insertions(+), 11 deletions(-) diff --git a/.travis.yml b/.travis.yml index 63b3865..f359af5 100644 --- a/.travis.yml +++ b/.travis.yml @@ -5,7 +5,16 @@ matrix: include: - os: linux dist: trusty - compiler: g++-6 + sudo: true + compiler: g++ + before_install: + # C++17 + - sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test + - sudo apt-get update -qq + install: + # C++17 + - 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=Debug .. @@ -15,15 +24,22 @@ matrix: compiler: clang script: - cd build - - cmake --version - cmake -DCMAKE_BUILD_TYPE=Debug .. - make -j - os: linux dist: trusty - compiler: g++-6 + sudo: true + compiler: g++ + before_install: + # C++17 + - sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test + - sudo apt-get update -qq + install: + # C++17 + - sudo apt-get install -qq g++-6 + - sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-6 90 script: - cd build - - cmake --version - cmake -DCMAKE_BUILD_TYPE=Release .. - make -j - os: linux @@ -31,17 +47,11 @@ matrix: compiler: clang script: - cd build - - cmake --version - cmake -DCMAKE_BUILD_TYPE=Release .. - make -j -addons: - apt: - sources: - - ubuntu-toolchain-r-test - packages: - - g++-6 + notifications: email: - phundrak@phundrak.fr