Fix Travix CI on mac osx

This commit is contained in:
Gioacchino Mazzurco 2018-01-22 12:11:13 +01:00
parent b95e3380c0
commit 6c40bd4212

View File

@ -14,7 +14,7 @@ matrix:
before_install:
- wget https://github.com/Tencent/rapidjson/archive/v1.1.0.tar.gz
- tar -xf v1.1.0.tar.gz
- if [ $TRAVIS_OS_NAME == osx ]; then ln -s rapidjson-1.1.0/include/rapidjson/ /usr/local/include/rapidjson ; fi
- if [ $TRAVIS_OS_NAME == osx ]; then cp -r rapidjson-1.1.0/include/rapidjson/ /usr/local/include/rapidjson ; fi
- if [ $TRAVIS_OS_NAME == linux ]; then sudo cp -r rapidjson-1.1.0/include/rapidjson/ /usr/include/rapidjson ; fi
- find /usr/local/include/
- find /usr/include/