]> Creatis software - clitk.git/commitdiff
change vtk version 6.0 to 5.10
authortbaudier <thomas.baudier@creatis.insa-lyon.fr>
Wed, 18 Jan 2017 10:26:26 +0000 (11:26 +0100)
committertbaudier <thomas.baudier@creatis.insa-lyon.fr>
Wed, 18 Jan 2017 10:26:26 +0000 (11:26 +0100)
.travis.yml
travis/travis_build_vtk.sh

index 47b7f33f112efd576b191435f6cf291d2606742d..0d8bcc773427850c80d116114e27f622067c401f 100644 (file)
@@ -16,12 +16,12 @@ env:
     - WITH_CMAKE=true VTK_VERSION=7.0.0 ITK_VERSION=4.9.1 QT_VERSION=4.8.7
     - WITH_CMAKE=true VTK_VERSION=6.3 ITK_VERSION=4.9.1 QT_VERSION=5.5.1
     - WITH_CMAKE=true VTK_VERSION=6.3 ITK_VERSION=4.9.1 QT_VERSION=4.8.7
-    - WITH_CMAKE=true VTK_VERSION=6.0 ITK_VERSION=4.5 QT_VERSION=4.8.7
+    - WITH_CMAKE=true VTK_VERSION=5.10 ITK_VERSION=4.5 QT_VERSION=4.8.7
 
 matrix:
   exclude:
   - os: osx
-    env: WITH_CMAKE=true VTK_VERSION=6.0 ITK_VERSION=4.5 QT_VERSION=4.8.7 #VTK6.0 doesn't work with osX
+    env: WITH_CMAKE=true VTK_VERSION=5.10 ITK_VERSION=4.5 QT_VERSION=4.8.7 #VTK6.0 doesn't work with osX
 
 language: cpp
 
@@ -58,8 +58,8 @@ install:
 
 cache:
  - directories:
-   - $HOME/vtk-6.0
-   - $HOME/vtk-6.0-build
+   - $HOME/vtk-5.10
+   - $HOME/vtk-5.10-build
    - $HOME/vtk-6.3
    - $HOME/vtk-6.3-build
    - $HOME/vtk-7.0.0
index 14649bc5e1762f5065f0ebe4a98ebc860ca79be3..5b7e7e873a5128431ab0e56119b3097769ad6106 100755 (executable)
@@ -9,8 +9,8 @@ elif [ "$QT_VERSION" == "5.5.1" ]; then
 fi
 
 #Prepare cmake arguments following the VTK version
-if [ "$VTK_VERSION" == "6.0" ]; then
-vtk_repo_str=" --branch v6.0.0 https://github.com/Kitware/VTK.git --depth 1"
+if [ "$VTK_VERSION" == "5.10" ]; then
+vtk_repo_str=" --branch v5.10.0 https://github.com/Kitware/VTK.git --depth 1"
 cmake_arg_str=" $cmake_arg_str 
   -DBUILD_SHARED_LIBS=1
   -DCMAKE_BUILD_TYPE=Release