Skip to content

Commit

Permalink
Fixed execution of tests
Browse files Browse the repository at this point in the history
  • Loading branch information
iboB committed Aug 21, 2018
1 parent 415b760 commit 289ec65
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,13 +77,16 @@ script:
- cd dbg_build
- cmake -DCMAKE_CXX_COMPILER=$COMPILER .. -DPICOBENCH_BUILD_TOOLS=1 -DPICOBENCH_BUILD_TESTS=1 -DPICOBENCH_BUILD_EXAMPLES=1 -DCMAKE_BUILD_TYPE=Debug -DCMAKE_CXX_FLAGS="${ADDITIONAL_CXX_FLAGS}"
- make -j2
- cd test
- ctest --output-on-failure
- cd ..
- cd ../..
- mkdir -p release_build
- cd release_build
- cmake -DCMAKE_CXX_COMPILER=$COMPILER .. -DPICOBENCH_BUILD_TOOLS=1 -DPICOBENCH_BUILD_TESTS=1 -DPICOBENCH_BUILD_EXAMPLES=1 -DCMAKE_BUILD_TYPE=Release -DCMAKE_CXX_FLAGS="${ADDITIONAL_CXX_FLAGS}"
- make -j2
- cd test
- ctest --output-on_failure
- cd ..
# examples
- cd example
- ./basic
Expand Down

0 comments on commit 289ec65

Please sign in to comment.