mirror of
https://github.com/nlohmann/json.git
synced 2025-11-24 11:54:34 +08:00
do not build for special cases
This commit is contained in:
30
.travis.yml
30
.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
|
||||
|
||||
Reference in New Issue
Block a user