Mercurial > hg > orthanc
comparison .travis.yml @ 1260:261dcff6d6ae
test os x
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Thu, 08 Jan 2015 15:22:19 +0100 |
parents | 7550f6fff4be |
children | ef74281b2ffa |
comparison
equal
deleted
inserted
replaced
1259:7550f6fff4be | 1260:261dcff6d6ae |
---|---|
1 language: cpp | 1 language: cpp |
2 | 2 |
3 compiler: | 3 compiler: |
4 - gcc | 4 # - gcc |
5 - clang | 5 - clang |
6 | 6 |
7 os: | 7 os: |
8 - osx | 8 - osx |
9 # - linux | 9 # - linux |
15 | 15 |
16 before_script: | 16 before_script: |
17 - mkdir Build | 17 - mkdir Build |
18 - cd Build | 18 - cd Build |
19 - 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 | 19 - 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 |
20 - if [ $TRAVIS_OS_NAME == osx ]; then cmake -GXcode -DCMAKE_OSX_DEPLOYMENT_TARGET=10.9 -DSTATIC_BUILD=ON -DSTANDALONE_BUILD=ON -DALLOW_DOWNLOADS=ON ..; fi | 20 - if [ $TRAVIS_OS_NAME == osx ]; then cmake -DSTATIC_BUILD=ON -DSTANDALONE_BUILD=ON -DALLOW_DOWNLOADS=ON ..; fi |
21 | 21 |
22 # Travis-CI uses Ubuntu 12.04 virtual machines, with Boost 1.46.0 | 22 # Travis-CI uses Ubuntu 12.04 virtual machines, with Boost 1.46.0 |
23 # (whereas Orthanc expects Boost >= 1.48.0) | 23 # (whereas Orthanc expects Boost >= 1.48.0) |
24 script: make | 24 script: make && ./UnitTests |