testing travis-ci #8
This commit is contained in:
parent
4a6bd0f9fb
commit
8bb992acc1
23
.travis.yml
23
.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 ..
|
||||
|
Loading…
Reference in New Issue
Block a user