mirror of
https://github.com/gelldur/EventBus.git
synced 2025-01-14 01:07:59 +08:00
Fix running tests for Travis
This commit is contained in:
parent
74d3b3ee60
commit
2a360f4576
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user