Fix running tests for Travis

This commit is contained in:
Dawid Drozd 2017-11-24 12:54:33 +01:00
parent 74d3b3ee60
commit 2a360f4576

View File

@ -30,8 +30,8 @@ before_script:
- if [ "$COMPILER" = "clang++-3.9" ]; then export CXX="clang++-3.9" CC="clang-3.9"; fi
script:
- mkdir build-debug && cd build-debug && cmake -DCMAKE_BUILD_TYPE=Debug .. && cmake --build .
- mkdir build-debug && cd build-debug && cmake -DCMAKE_BUILD_TYPE=Debug -DBUILD_TEST=YES .. && cmake --build .
- ./test/EventBusTest # Run tests
- cd .. # exit from build-debug
- mkdir build-release && cd build-release && cmake -DCMAKE_BUILD_TYPE=Release .. && cmake --build .
- mkdir build-release && cd build-release && cmake -DCMAKE_BUILD_TYPE=Release -DBUILD_TEST=YES .. && cmake --build .
- ./test/EventBusTest # Run tests