From e5ee197ae7af7ca8a7df9c295fce9f3e07c5c908 Mon Sep 17 00:00:00 2001 From: Phuntsok Drak-pa Date: Thu, 3 May 2018 12:40:56 +0200 Subject: [PATCH] testing travis-ci #10 --- .travis.yml | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/.travis.yml b/.travis.yml index 3f34f72..4dcd018 100644 --- a/.travis.yml +++ b/.travis.yml @@ -28,17 +28,15 @@ matrix: # Linux GCC C++17 - env: - BUILD_TYPE=Debug - BIN_DIR=debug - CC=gcc-7 - CXX=g++-7 + - MATRIX_EVAL="BUILD_TYPE=Debug && BIN_DIR=debug && CC=gcc-7 && CXX=g++-7" compiler: gcc + before_install: + - eval "${MATRIX_EVAL}" - env: - BUILD_TYPE=Release - BIN_DIR=bin - CC=gcc-7 - CXX=g++-7 + - MATRIX_EVAL="BUILD_TYPE=Release && BIN_DIR=bin && CC=gcc-7 && CXX=g++-7" compiler: gcc + before_install: + - eval "${MATRIX_EVAL}" script: - cd build - cmake -DCMAKE_BUILD_TYPE=$BUILD_TYPE ..