Skip to content
Snippets Groups Projects
Commit fccad8de authored by Kasper Marstal's avatar Kasper Marstal
Browse files

ENH: Bump Travis CI CMake version to 3.2.2

parent c5149e04
No related branches found
No related tags found
No related merge requests found
......@@ -12,23 +12,25 @@ compiler:
- gcc
before_install:
- pwd
- date -u
- uname -a
- if [ "${TRAVIS_OS_NAME}" == "linux" ]; then sudo add-apt-repository ppa:george-edison55/cmake-3.x -y; fi
- if [ "${TRAVIS_OS_NAME}" == "osx" ]; then brew update; fi
# Out-of-source build
- cd ..
- mkdir SuperElastix-build
- cd SuperElastix-build
install:
- if [ "${TRAVIS_OS_NAME}" == "linux" ]; then sudo apt-get upgrade; fi
- if [ "${TRAVIS_OS_NAME}" == "osx" ]; then brew upgrade cmake; fi
before_script:
- export OMP_NUM_THREADS=2
- echo $OMP_NUM_THREADS
# Out-of-source build
- cd ..
- mkdir SuperElastix-build
- cd SuperElastix-build
script:
- cmake ../SuperElastix/SuperBuild
- make --jobs=2 | grep -v '^--' | grep -v '^Installing' | grep -v '^common'
after_success:
- cd Elastix-build
- cd SuperElastix-build
- ctest
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