|
19 | 19 | # versions of VTK for each OS |
20 | 20 | # - On Ubuntu, use default version installed by apt-get |
21 | 21 | # - On macOS, build recent VTK version from sources and cache installation |
22 | | - - LINUX_VTK_VERSION=6.0.0 |
23 | | - - MACOS_VTK_VERSION=9.0 # Homebrew versions: 8.2, 9.0; otherwise build from sources |
24 | | - - WITH_CCACHE=ON # speed up MIRTK build itself using ccache |
25 | | - - WITH_ARPACK=OFF # requires time consuming build of gcc on macOS |
26 | | - - WITH_UMFPACK=OFF # ARPACK & UMFPACK dependencies come in pairs |
27 | | - - WITH_TBB=ON # build with TBB is always recommended |
28 | | - - WITH_FLANN=ON # build with FLANN is optional, but requires only little extra build time |
29 | | - - WITH_FLTK=ON # build with FLTK-based Viewer when WITH_VTK is turned ON |
30 | | - - WITH_ITK=OFF # required by ANTs N4 which is included in DrawEM package |
| 22 | + - VTK_VERSION_LINUX=${VTK_VERSION_LINUX:-6.0.0} # trusty: 6.0.0, xenial: 6.2.0, bionic: 6.3.0, 7.1.1 |
| 23 | + - VTK_VERSION_MACOS=${VTK_VERSION_MACOS:-9.0} # Homebrew versions: 8.2, 9.0; otherwise build from sources |
| 24 | + - WITH_CCACHE=${WITH_CCACHE:-ON} # speed up MIRTK build itself using ccache |
| 25 | + - WITH_ARPACK=${WITH_ARPACK:-OFF} # requires time consuming build of gcc on macOS |
| 26 | + - WITH_UMFPACK=${WITH_UMFPACK:-OFF} # ARPACK & UMFPACK dependencies come in pairs |
| 27 | + - WITH_TBB=${WITH_TBB:-ON} # build with TBB is always recommended |
| 28 | + - WITH_FLANN=$(WITH_FLANN:-ON} # build with FLANN is optional, but requires only little extra build time |
| 29 | + - WITH_FLTK=${WITH_FLTK:-ON} # build with FLTK-based Viewer when WITH_VTK is turned ON |
| 30 | + - WITH_ITK=${WITH_ITK:-OFF} # required by ANTs N4 which is included in DrawEM package |
31 | 31 | # exclude DrawEM from Travis CI build for now, see https://github.com/MIRTK/DrawEM/pull/27 |
32 | 32 | # build and deployment of AppImage for Linux |
33 | 33 | - AppImage_BUILD=${AppImage_BUILD:-ON} |
|
65 | 65 | ccache: true |
66 | 66 | timeout: 1000 |
67 | 67 | directories: |
68 | | - - "$HOME/VTK-$LINUX_VTK_VERSION" |
69 | | - - "$HOME/VTK-$MACOS_VTK_VERSION" |
| 68 | + - "$HOME/VTK-$VTK_VERSION_LINUX" |
| 69 | + - "$HOME/VTK-$VTK_VERSION_MACOS" |
70 | 70 |
|
71 | 71 | before_install: |
72 | 72 | - . Scripts/install_depends.sh # sourcing will enable export of env variables |
|
0 commit comments