summaryrefslogtreecommitdiffstats
path: root/.travis.yml
diff options
context:
space:
mode:
authorKevin Rocard <kevin.rocard@intel.com>2015-04-12 00:38:59 +0200
committerEric Laurent <elaurent@google.com>2015-04-24 13:39:14 -0700
commitbc42b6abb383ca4e31f2f946ac6e75cc0f8b8085 (patch)
tree3f85d6d329a386b2d08311b38a072311ad977a5b /.travis.yml
parent6a03dc688dc408268bd6ceeecbf8110712524ab3 (diff)
downloadexternal_parameter-framework-bc42b6abb383ca4e31f2f946ac6e75cc0f8b8085.zip
external_parameter-framework-bc42b6abb383ca4e31f2f946ac6e75cc0f8b8085.tar.gz
external_parameter-framework-bc42b6abb383ca4e31f2f946ac6e75cc0f8b8085.tar.bz2
[Travis] No longer install debug build
Debug build used to be installed as it was required for make test. As make test is now stand alone, do not install debug builds. This has several advantages: - slightly faster builds. - make test without install is actually tested by travis. Debug binaries used to overwrite release ones that were installed presciently. As it is no longer the case, and to avoid tests to use installed binaries instead of the local ones, test the debug build *before* the release one. As the debug build is now build (first) in it's own folder, debug and release build can not interfere. Signed-off-by: Kevin Rocard <kevin.rocard@intel.com>
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml15
1 files changed, 7 insertions, 8 deletions
diff --git a/.travis.yml b/.travis.yml
index b42a71a..3fec8b1 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -21,6 +21,10 @@ install:
# how to build
script:
+ - ( mkdir build_debug && cd build_debug &&
+ cmake -DCMAKE_BUILD_TYPE=Debug -DCOVERAGE=ON .. &&
+ make -j &&
+ CTEST_OUTPUT_ON_FAILURE=1 make ExperimentalTest ExperimentalMemCheck )
- ( mkdir build && cd build &&
cmake .. &&
make -j &&
@@ -32,19 +36,14 @@ script:
make &&
sudo make install &&
sudo ldconfig )
- - ( cd build &&
- cmake -DCMAKE_BUILD_TYPE=Debug -DCOVERAGE=ON .. &&
- make -j &&
- sudo make install &&
- sudo ldconfig &&
- CTEST_OUTPUT_ON_FAILURE=1 make ExperimentalTest ExperimentalMemCheck )
after_success:
# Push coverage info on coveralls.io.
# Ignore generated files, samples and tests
- coveralls
- --exclude "build/bindings/python"
- --exclude "build/CMakeFiles"
+ --exclude "build_debug/bindings/python"
+ --exclude "build_debug/CMakeFiles"
+ --exclude "build"
--exclude "skeleton-subsystem"
--exclude "test/test-subsystem"
--exclude "bindings/c/Test.cpp"