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