Skip to content
Snippets Groups Projects
Commit edd32272 authored by Thomas Kittelmann's avatar Thomas Kittelmann
Browse files

protect with set -e

parent 74e7a269
No related branches found
No related tags found
No related merge requests found
......@@ -21,16 +21,20 @@ compiler:
- clang
before_install:
- set -e
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update ; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install homebrew/science/geant4; fi
- set +e
before_script:
- $CC --version
- set -e
- mkdir build install rundir
- cd build
- cmake .. -DBUILD_FAT=ON -DCMAKE_BUILD_TYPE=${BUILD} -DCMAKE_INSTALL_PREFIX=../install/
- set +e
script:
- set -e
- make install
- cd ../rundir
- find ../install
......@@ -40,4 +44,4 @@ script:
- ../install/bin/mcpltool myfile.mcpl.gz
- ../install/bin/mcpltool myfile_filtered.mcpl.gz
- ../install/bin/mcpltool_fat myfile_filtered.mcpl.gz
- set +e
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