From 79fd4dfbd861f0397bf47316a13876f5a3fd07b3 Mon Sep 17 00:00:00 2001 From: Niels Date: Mon, 22 Aug 2016 20:40:25 +0200 Subject: [PATCH] do not build for special cases --- .travis.yml | 30 +++++++++++++++++------------- 1 file changed, 17 insertions(+), 13 deletions(-) diff --git a/.travis.yml b/.travis.yml index bd806cb89..053bd4360 100644 --- a/.travis.yml +++ b/.travis.yml @@ -237,24 +237,28 @@ install: ################ script: - # show OS/compiler version - - uname -a - - $CXX --version + - if [[ "${SPECIAL}" != "" ]]; then - # compile - - make + # show OS/compiler version + uname -a + $CXX --version - # execute unit tests - - test/json_unit "*" + # compile + make - # check if homebrew works (only checks develop branch) - - if [ `which brew` ]; then - brew update ; - brew tap nlohmann/json ; - brew install nlohmann_json --HEAD ; - brew test nlohmann_json ; + # execute unit tests + test/json_unit "*" + + # check if homebrew works (only checks develop branch) + if [ `which brew` ]; then + brew update ; + brew tap nlohmann/json ; + brew install nlohmann_json --HEAD ; + brew test nlohmann_json ; fi + fi + #language: cpp # #dist: trusty