Skip to content
Snippets Groups Projects
Commit ecb01606 authored by Lars Bilke's avatar Lars Bilke
Browse files

[Travis] Use system Boost and VTK.

parent efda308a
No related branches found
No related tags found
No related merge requests found
......@@ -18,13 +18,13 @@ cache:
ccache: true
directories:
- $HOME/cmake-3.1.1-Linux-x86_64
- $HOME/VTK-Install
- $HOME/VTK-Install-7.1
- $HOME/boost_1_56_0
- $HOME/.conan
env:
global:
- VTK_DIR=$HOME/VTK-Install/lib/cmake/vtk-7.1
- VTK_DIR=$HOME/VTK-Install-7.1/lib/cmake/vtk-7.1
- BOOST_ROOT=$HOME/boost_1_56_0
matrix:
include:
......@@ -55,7 +55,7 @@ script:
- if [ "$CASE" == "CHECK" ]; then git config core.whitespace -blank-at-eof; git diff --check `git merge-base origin/master HEAD` HEAD; fi
- if [ "$CASE" != "CHECK" ]; then mkdir build; fi
- if [ "$CASE" != "CHECK" ]; then cd build; fi
- if [ "$CASE" != "CHECK" ]; then cmake $CMAKE_ARGS -DCMAKE_BUILD_TYPE=Debug ..; fi
- if [ "$CASE" != "CHECK" ]; then cmake $CMAKE_ARGS -DOGS_LIB_BOOST=System -DOGS_LIB_VTK=System -DCMAKE_BUILD_TYPE=Debug ..; fi
- if [ "$CASE" != "CHECK" ]; then make -j 2; fi
- if [ "$CASE" != "CHECK" ]; then make tests; fi
......
#!/bin/sh
set -e
if [ ! -d "$HOME/VTK-Install/include" ]; then
if [ ! -d "$HOME/VTK-Install-7.1/include" ]; then
cd $HOME
wget http://ogsstorage.blob.core.windows.net/jenkins/ogs6-lib-sources/vtk-7.1.0-binary.tar.gz
tar -xzf vtk-7.1.0-binary.tar.gz
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment