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

travis build types

parent d75933e7
No related branches found
No related tags found
No related merge requests found
language: cpp
os: os:
- linux - linux
- osx - osx
env:
- BUILD='Release'
- BUILD='Debug'
addons: addons:
apt: apt:
sources: sources:
...@@ -11,8 +16,6 @@ addons: ...@@ -11,8 +16,6 @@ addons:
- cmake - cmake
- cmake-data - cmake-data
language: cpp
compiler: compiler:
- gcc - gcc
- clang - clang
...@@ -20,14 +23,13 @@ compiler: ...@@ -20,14 +23,13 @@ compiler:
before_script: before_script:
- mkdir build install rundir - mkdir build install rundir
- cd build - cd build
- cmake .. -DBUILD_FAT=ON -DBUILD_WITHG4=OFF -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=../install/ - cmake .. -DBUILD_FAT=ON -DBUILD_WITHG4=OFF -DCMAKE_BUILD_TYPE=${BUILD} -DCMAKE_INSTALL_PREFIX=../install/
script: script:
- make install - make install
- cd ../rundir - cd ../rundir
- find ../install - find ../install
- ../install/bin/mcplexample_write myfile.mcpl - ../install/bin/mcplexample_write myfile.mcpl
- ../install/bin/mcplexample_read myfile.mcpl.gz
- ../install/bin/mcplexample_filter myfile.mcpl.gz myfile_filtered.mcpl - ../install/bin/mcplexample_filter myfile.mcpl.gz myfile_filtered.mcpl
- ../install/bin/mcplexample_read myfile_filtered.mcpl.gz - ../install/bin/mcplexample_read myfile_filtered.mcpl.gz
- ../install/bin/mcpltool myfile.mcpl.gz - ../install/bin/mcpltool myfile.mcpl.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