annotate .travis.yml @ 1262:602d419598cb

fix
author Sebastien Jodogne <s.jodogne@gmail.com>
date Thu, 08 Jan 2015 15:48:02 +0100
parents ef74281b2ffa
children 961482485deb
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1254
19b908908ebf travis setup
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1 language: cpp
19b908908ebf travis setup
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
2
19b908908ebf travis setup
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
3 compiler:
1261
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1260
diff changeset
4 - gcc
1258
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1257
diff changeset
5 - clang
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1257
diff changeset
6
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1257
diff changeset
7 os:
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1257
diff changeset
8 - osx
1261
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1260
diff changeset
9 - linux
1258
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1257
diff changeset
10
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1257
diff changeset
11 osx_image: xcode61
1254
19b908908ebf travis setup
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
12
1262
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1261
diff changeset
13 # This excludes OSX builds from the build matrix for gcc
1261
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1260
diff changeset
14 matrix:
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1260
diff changeset
15 exclude:
1262
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1261
diff changeset
16 - os: osx
1261
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1260
diff changeset
17 compiler: gcc
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1260
diff changeset
18
1255
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1254
diff changeset
19 before_install:
1261
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1260
diff changeset
20 - if [ $TRAVIS_OS_NAME == linux ]; then sudo apt-get update -qq && sudo apt-get install
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1260
diff changeset
21 -qq build-essential unzip cmake mercurial uuid-dev libcurl4-openssl-dev liblua5.1-0-dev
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1260
diff changeset
22 libgtest-dev libpng-dev libsqlite3-dev libssl-dev zlib1g-dev libdcmtk2-dev libwrap0-dev
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1260
diff changeset
23 libcharls-dev; fi
1258
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1257
diff changeset
24
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1257
diff changeset
25 before_script:
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1257
diff changeset
26 - mkdir Build
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1257
diff changeset
27 - cd Build
1261
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1260
diff changeset
28 - if [ $TRAVIS_OS_NAME == linux ]; then cmake "-DDCMTK_LIBRARIES=CharLS;dcmjpls;wrap;oflog"
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1260
diff changeset
29 -DALLOW_DOWNLOADS=ON -DUSE_SYSTEM_BOOST=OFF -DUSE_SYSTEM_MONGOOSE=OFF -DUSE_SYSTEM_JSONCPP=OFF
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1260
diff changeset
30 -DUSE_SYSTEM_GOOGLE_LOG=OFF -DUSE_SYSTEM_PUGIXML=OFF -DUSE_GTEST_DEBIAN_SOURCE_PACKAGE=ON
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1260
diff changeset
31 ..; fi
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1260
diff changeset
32 - if [ $TRAVIS_OS_NAME == osx ]; then cmake -DSTATIC_BUILD=ON -DSTANDALONE_BUILD=ON
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1260
diff changeset
33 -DALLOW_DOWNLOADS=ON ..; fi
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1260
diff changeset
34
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1260
diff changeset
35 script: make && ./UnitTests
1254
19b908908ebf travis setup
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
36
1261
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1260
diff changeset
37 deploy:
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1260
diff changeset
38 provider: releases
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1260
diff changeset
39 api_key:
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1260
diff changeset
40 secure: WU+niKLAKMoJHST5EK23BayK4qXSrXELKlJYc8wRjMO4ay1KSgvzlY2UGKeW1EPClBfZZ0Uh5VKF8l34exsfirFuwCX2qceozduZproUszZ4Z88X8wt8Ctu8tBuuKLZYFc9iNH4zw+QZyRuPyXK9iWpS0L9O20pqy5upTsagM3o=
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1260
diff changeset
41 file:
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1260
diff changeset
42 - 'Build/Orthanc'
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1260
diff changeset
43 - 'Build/UnitTests'
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1260
diff changeset
44 on:
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1260
diff changeset
45 repo: jodogne/OrthancMirror
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1260
diff changeset
46 branch: ''