testing travis-ci #8

This commit is contained in:
Phuntsok Drak-pa 2018-05-03 12:20:17 +02:00
parent 4a6bd0f9fb
commit 8bb992acc1
1 changed files with 23 additions and 0 deletions

View File

@ -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 ..