testing travis-ci #10

This commit is contained in:
Phuntsok Drak-pa 2018-05-03 12:40:56 +02:00
parent e647985bd7
commit e5ee197ae7

View File

@ -28,17 +28,15 @@ matrix:
# Linux GCC C++17 # Linux GCC C++17
- env: - env:
BUILD_TYPE=Debug - MATRIX_EVAL="BUILD_TYPE=Debug && BIN_DIR=debug && CC=gcc-7 && CXX=g++-7"
BIN_DIR=debug
CC=gcc-7
CXX=g++-7
compiler: gcc compiler: gcc
before_install:
- eval "${MATRIX_EVAL}"
- env: - env:
BUILD_TYPE=Release - MATRIX_EVAL="BUILD_TYPE=Release && BIN_DIR=bin && CC=gcc-7 && CXX=g++-7"
BIN_DIR=bin
CC=gcc-7
CXX=g++-7
compiler: gcc compiler: gcc
before_install:
- eval "${MATRIX_EVAL}"
script: script:
- cd build - cd build
- cmake -DCMAKE_BUILD_TYPE=$BUILD_TYPE .. - cmake -DCMAKE_BUILD_TYPE=$BUILD_TYPE ..