diff --git a/.travis.yml b/.travis.yml index 424465ebf..ffe05ec6c 100644 --- a/.travis.yml +++ b/.travis.yml @@ -168,7 +168,8 @@ script: - if [ `which valgrind` ]; then valgrind --error-exitcode=1 --leak-check=full ./json_unit ; fi - - if [ $TRAVIS_OS_NAME="osx" ]; then + - if [ `which brew` ]; then + brew update ; brew tap nlohmann/json ; brew install nlohmann_json --HEAD ; brew test nlohmann_json ;