Skip to content
Snippets Groups Projects
Commit 36898763 authored by Marko Petric's avatar Marko Petric
Browse files

Change default Travis configuration to GCC 6.2

parent 35e7ec60
No related branches found
No related tags found
No related merge requests found
#!/bin/bash
export COMPILER_TYPE="gcc"
source /DD4hep/.dd4hep-ci.d/init_x86_64.sh
cd /DD4hep
mkdir build
cd build
cmake -GNinja -D DD4HEP_USE_GEANT4=ON -D DD4HEP_USE_BOOST=ON -DBoost_NO_BOOST_CMAKE=ON -D DD4HEP_USE_LCIO=ON -D BUILD_TESTING=ON -D Geant4_DIR=$G4INSTALL/lib64/Geant4-10.2.2 -D DD4HEP_USE_CXX11=ON -DCMAKE_BUILD_TYPE=Release ..
ninja
ninja install
. ../bin/thisdd4hep.sh
ctest --output-on-failure -j4
cd ../examples/
mkdir build
cd build
cmake -GNinja -DBoost_NO_BOOST_CMAKE=ON ..
ninja
ninja install
ctest --output-on-failure -j2
......@@ -17,7 +17,7 @@ install:
# command to run tests
script:
- docker run -t -v $DD4hepDIR:/DD4hep cernvm /init /DD4hep/.travis-ci.d/compile_and_test.sh
- docker run -t -v $DD4hepDIR:/DD4hep cernvm /init /DD4hep/.dd4hep-ci.d/compile_and_test.sh
# Don't send e-mail notifications
notifications:
......
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