From 8bb992acc11fae78cd87c080a242e3e5d1174b43 Mon Sep 17 00:00:00 2001 From: Phuntsok Drak-pa Date: Thu, 3 May 2018 12:20:17 +0200 Subject: [PATCH] testing travis-ci #8 --- .travis.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/.travis.yml b/.travis.yml index afc3f1e..e687e0d 100644 --- a/.travis.yml +++ b/.travis.yml @@ -14,6 +14,7 @@ addons: matrix: include: + # Linux Clang C++17 - env: BUILD_TYPE=Debug BIN_DIR=debug @@ -24,6 +25,28 @@ matrix: BIN_DIR=bin CC=clang-5.0 CXX=clang++-5.0 + + # Linux GCC C++17 + - env: + BUILD_TYPE=Debug + BIN_DIR=debug + 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 + 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 ..