Skip to content

Commit

Permalink
Merge pull request #458 from Dronecode/fix-online-unit-tests
Browse files Browse the repository at this point in the history
Makefile/travis: run offline tests in CI
  • Loading branch information
julianoes committed Jul 26, 2018
2 parents 3bba68f + 00a218b commit 6f9f342
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,9 @@ run_all_tests: default
run_unit_tests: default
build/default/unit_tests_runner

run_unit_tests_offline: default
build/default/unit_tests_runner --gtest_filter="-CurlTest.*"

run_integration_tests: default
build/default/integration_tests/integration_tests_runner

Expand Down
4 changes: 2 additions & 2 deletions travis-docker-build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

set -e

make BUILD_TYPE=Debug run_unit_tests -j4
make BUILD_TYPE=Debug run_unit_tests_offline -j4
make default install
make fix_style
(cd example/takeoff_land && mkdir build && cd build && cmake -DCMAKE_BUILD_TYPE=Debug .. && make)
Expand All @@ -11,7 +11,7 @@ make fix_style
make clean
git clean -dfx

make BUILD_TYPE=Release run_unit_tests -j4
make BUILD_TYPE=Release run_unit_tests_offline -j4
make default install
make fix_style
(cd example/takeoff_land && mkdir build && cd build && cmake -DCMAKE_BUILD_TYPE=Release .. && make)
Expand Down

0 comments on commit 6f9f342

Please sign in to comment.