Build folder changed. Modifying after_success target in .travis-ci.yml to accomplish those changes.

parent 8b3c62e3
......@@ -95,14 +95,18 @@ before_script:
- initctl list || true
# Debug build
- cmake -H. -BBuild-Debug
- cmake -H.
-BBuild-Debug
-DCMAKE_BUILD_TYPE=Debug
-DPISTACHE_BUILD_EXAMPLES=true
-DPISTACHE_BUILD_TESTS=true
-DPISTACHE_SSL=true
# Release build
- cmake -H. -BBuild-Release -DCMAKE_BUILD_TYPE=Release -DPISTACHE_SSL=true
- cmake -H.
-BBuild-Release
-DCMAKE_BUILD_TYPE=Release
-DPISTACHE_SSL=true
script:
- # Debug build
......@@ -122,6 +126,7 @@ after_failure:
after_success:
- cd ../Build-Debug
- export PISTACHE_SRC_ROOT=$(realpath $(pwd)/..)
- lcov --capture --directory . --output-file coverage.info
- lcov --remove coverage.info '/usr/*' $PISTACHE_SRC_ROOT/test $PISTACHE_SRC_ROOT/googletest-release-1.7.0 --output-file coverage.info
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment