# HG changeset patch # User Sebastien Jodogne # Date 1420726939 -3600 # Node ID 261dcff6d6aee9199ac50a4ea663143fa708b3c4 # Parent 7550f6fff4be2b3d856577a2934625b8aa177de4 test os x diff -r 7550f6fff4be -r 261dcff6d6ae .travis.yml --- a/.travis.yml Thu Jan 08 15:13:29 2015 +0100 +++ b/.travis.yml Thu Jan 08 15:22:19 2015 +0100 @@ -1,7 +1,7 @@ language: cpp compiler: - - gcc +# - gcc - clang os: @@ -17,8 +17,8 @@ - mkdir Build - cd Build - if [ $TRAVIS_OS_NAME == linux ]; then cmake "-DDCMTK_LIBRARIES=CharLS;dcmjpls;wrap;oflog" -DALLOW_DOWNLOADS=ON -DUSE_SYSTEM_BOOST=OFF -DUSE_SYSTEM_MONGOOSE=OFF -DUSE_SYSTEM_JSONCPP=OFF -DUSE_SYSTEM_GOOGLE_LOG=OFF -DUSE_SYSTEM_PUGIXML=OFF -DUSE_GTEST_DEBIAN_SOURCE_PACKAGE=ON ..; fi - - if [ $TRAVIS_OS_NAME == osx ]; then cmake -GXcode -DCMAKE_OSX_DEPLOYMENT_TARGET=10.9 -DSTATIC_BUILD=ON -DSTANDALONE_BUILD=ON -DALLOW_DOWNLOADS=ON ..; fi + - if [ $TRAVIS_OS_NAME == osx ]; then cmake -DSTATIC_BUILD=ON -DSTANDALONE_BUILD=ON -DALLOW_DOWNLOADS=ON ..; fi # Travis-CI uses Ubuntu 12.04 virtual machines, with Boost 1.46.0 # (whereas Orthanc expects Boost >= 1.48.0) -script: make +script: make && ./UnitTests