do not build for special cases

This commit is contained in:
Niels 2016-08-22 20:40:25 +02:00
parent 034244a291
commit 79fd4dfbd8

View file

@ -237,24 +237,28 @@ install:
################ ################
script: script:
# show OS/compiler version - if [[ "${SPECIAL}" != "" ]]; then
- uname -a
- $CXX --version
# compile # show OS/compiler version
- make uname -a
$CXX --version
# execute unit tests # compile
- test/json_unit "*" make
# check if homebrew works (only checks develop branch) # execute unit tests
- if [ `which brew` ]; then test/json_unit "*"
brew update ;
brew tap nlohmann/json ; # check if homebrew works (only checks develop branch)
brew install nlohmann_json --HEAD ; if [ `which brew` ]; then
brew test nlohmann_json ; brew update ;
brew tap nlohmann/json ;
brew install nlohmann_json --HEAD ;
brew test nlohmann_json ;
fi fi
fi
#language: cpp #language: cpp
# #
#dist: trusty #dist: trusty