Mercurial > hg > orthanc
annotate .travis.yml @ 4232:688435755466
added DELETE in WebDAV, first working virtual filesystem
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Wed, 07 Oct 2020 13:00:57 +0200 |
parents | 4899c3135479 |
children | 7822fa96f9c8 |
rev | line source |
---|---|
1254 | 1 language: cpp |
2 | |
1264 | 3 env: |
4 - TRAVIS_MINGW=OFF | |
4130 | 5 #- TRAVIS_MINGW=ON # MinGW32 is not available anymore (2020-07-08) |
1264 | 6 |
1254 | 7 compiler: |
1261 | 8 - gcc |
1269 | 9 - clang |
1258 | 10 |
11 os: | |
1269 | 12 - osx |
1261 | 13 - linux |
1258 | 14 |
15 osx_image: xcode61 | |
1254 | 16 |
1261 | 17 matrix: |
18 exclude: | |
1264 | 19 # This excludes OSX builds from the build matrix for gcc |
1262 | 20 - os: osx |
1261 | 21 compiler: gcc |
22 | |
1264 | 23 # Do not compile for OS X or clang when MinGW is enabled |
24 - os: osx | |
25 env: TRAVIS_MINGW=ON | |
26 - compiler: clang | |
27 env: TRAVIS_MINGW=ON | |
28 | |
1255 | 29 before_install: |
1261 | 30 - if [ $TRAVIS_OS_NAME == linux ]; then sudo apt-get update -qq && sudo apt-get install |
31 -qq build-essential unzip cmake mercurial uuid-dev libcurl4-openssl-dev liblua5.1-0-dev | |
32 libgtest-dev libpng-dev libsqlite3-dev libssl-dev zlib1g-dev libdcmtk2-dev libwrap0-dev | |
1264 | 33 libcharls-dev; fi |
2349
a337adb29187
travis: fallback to dcmtk 3.6.0
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
2348
diff
changeset
|
34 # For DCMTK 3.6.2 - Can't make it compile in static mode with MinGW32 on the |
a337adb29187
travis: fallback to dcmtk 3.6.0
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
2348
diff
changeset
|
35 # Ubuntu Precise (12.04) that is used by Travis: |
a337adb29187
travis: fallback to dcmtk 3.6.0
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
2348
diff
changeset
|
36 # - if [ $TRAVIS_OS_NAME == linux -a $TRAVIS_MINGW == ON ]; then sudo apt-get install mingw-w64 gcc-mingw-w64-i686 g++-mingw-w64-i686 wine; fi |
1264 | 37 |
2343 | 38 # For DCMTK 3.6.0: |
2350 | 39 - if [ $TRAVIS_OS_NAME == linux -a $TRAVIS_MINGW == ON ]; then sudo apt-get install mingw32; fi |
1258 | 40 |
41 before_script: | |
42 - mkdir Build | |
43 - cd Build | |
1265 | 44 - if [ $TRAVIS_OS_NAME == linux -a $TRAVIS_MINGW == OFF ]; then cmake |
1264 | 45 -DCMAKE_BUILD_TYPE=Debug "-DDCMTK_LIBRARIES=CharLS;dcmjpls;wrap;oflog" |
3149
d2d2a0ad833b
fix travis build script
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
2542
diff
changeset
|
46 -DALLOW_DOWNLOADS=ON -DUSE_SYSTEM_BOOST=OFF -DUSE_SYSTEM_CIVETWEB=OFF -DUSE_SYSTEM_JSONCPP=OFF |
2403
06536b4f30c0
rename USE_GOOGLE_TEST_DEBIAN_SOURCE_PACKAGE as USE_GOOGLE_TEST_DEBIAN_PACKAGE
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
2402
diff
changeset
|
47 -DUSE_SYSTEM_GOOGLE_LOG=OFF -DUSE_SYSTEM_PUGIXML=OFF -DUSE_GOOGLE_TEST_DEBIAN_PACKAGE=ON |
3292 | 48 -DBOOST_LOCALE_BACKEND=icu |
4130 | 49 ../OrthancServer; fi |
1265 | 50 - if [ $TRAVIS_OS_NAME == linux -a $TRAVIS_MINGW == ON ]; then cmake |
1264 | 51 -DCMAKE_BUILD_TYPE=Debug -DSTATIC_BUILD=ON -DSTANDALONE_BUILD=ON -DALLOW_DOWNLOADS=ON |
3292 | 52 -DCMAKE_TOOLCHAIN_FILE=Resources/MinGWToolchain.cmake -DDCMTK_STATIC_VERSION=3.6.0 |
3293 | 53 -DUSE_LEGACY_JSONCPP=ON -DBOOST_LOCALE_BACKEND=libiconv |
4130 | 54 ../OrthancServer; fi |
1264 | 55 - if [ $TRAVIS_OS_NAME == osx ]; then cmake |
56 -DCMAKE_BUILD_TYPE=Debug -DSTATIC_BUILD=ON -DSTANDALONE_BUILD=ON -DALLOW_DOWNLOADS=ON | |
3292 | 57 -DBOOST_LOCALE_BACKEND=icu |
4130 | 58 ../OrthancServer; fi |
1261 | 59 |
3296 | 60 # Old releases of MinGW are not compatible with GoogleTest 1.8.1 |
61 script: make Orthanc ServeFolders ModalityWorklists && if [ $TRAVIS_MINGW == OFF ]; then make UnitTests && ./UnitTests; fi | |
1254 | 62 |
1269 | 63 #script: cp ../README Orthanc |
64 #deploy: | |
65 # provider: releases | |
66 # api_key: | |
67 # secure: WU+niKLAKMoJHST5EK23BayK4qXSrXELKlJYc8wRjMO4ay1KSgvzlY2UGKeW1EPClBfZZ0Uh5VKF8l34exsfirFuwCX2qceozduZproUszZ4Z88X8wt8Ctu8tBuuKLZYFc9iNH4zw+QZyRuPyXK9iWpS0L9O20pqy5upTsagM3o= | |
68 # file_glob: true | |
69 # file: | |
70 # - 'Build/Orthanc' | |
71 # - 'Build/UnitTests' | |
72 # - 'BuildMinGW32/Orthanc.exe' | |
73 # - 'BuildMinGW32/UnitTests.exe' | |
74 # skip_cleanup: true | |
75 # on: | |
76 # all_branches: true |