comparison .travis.yml @ 1258:2a3b0394fc2b

travis
author Sebastien Jodogne <s.jodogne@gmail.com>
date Thu, 08 Jan 2015 14:19:43 +0100
parents 0786cbd3ade3
children 7550f6fff4be
comparison
equal deleted inserted replaced
1257:0786cbd3ade3 1258:2a3b0394fc2b
1 language: cpp 1 language: cpp
2
3 compiler:
4 - gcc
5 - clang
2 6
3 os: 7 os:
4 - linux 8 - linux
9 - osx
5 10
6 compiler: 11 osx_image: xcode61
7 - gcc
8 12
9 before_install: 13 before_install:
10 - sudo apt-get update -qq 14 - if [ $TRAVIS_OS_NAME == linux ]; then sudo apt-get update -qq && sudo apt-get install -qq build-essential unzip cmake mercurial uuid-dev libcurl4-openssl-dev liblua5.1-0-dev libgtest-dev libpng-dev libsqlite3-dev libssl-dev zlib1g-dev libdcmtk2-dev libwrap0-dev libcharls-dev; fi
11 - sudo apt-get install -qq build-essential unzip cmake mercurial uuid-dev libcurl4-openssl-dev liblua5.1-0-dev libgtest-dev libpng-dev libsqlite3-dev libssl-dev zlib1g-dev libdcmtk2-dev libwrap0-dev libcharls-dev 15
16 before_script:
17 - mkdir 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
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
12 21
13 # 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
14 # (whereas Orthanc expects Boost >= 1.48.0) 23 # (whereas Orthanc expects Boost >= 1.48.0)
15 script: ./Resources/TravisUbuntu-12.04.sh 24 script: make