diff options
| author | jvoisin | 2018-09-10 11:43:33 +0200 |
|---|---|---|
| committer | jvoisin | 2018-09-10 11:43:33 +0200 |
| commit | a0e9a4791b7a2ba83b7fa84b190d8464b178ca26 (patch) | |
| tree | 94dd63bc5d63af7a8026b8a0fe770a587b89fe3d | |
| parent | 19aa522813b9a8494c4bf0c6937f84e379daaebe (diff) | |
Try to improve a bit the display of the CI
| -rw-r--r-- | .travis.yml | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/.travis.yml b/.travis.yml index 7a565d4..c911885 100644 --- a/.travis.yml +++ b/.travis.yml | |||
| @@ -52,12 +52,13 @@ script: | |||
| 52 | 52 | ||
| 53 | after_success: | 53 | after_success: |
| 54 | - 'if [ "${TARGET}" = "gcc php7.2" ]; then | 54 | - 'if [ "${TARGET}" = "gcc php7.2" ]; then |
| 55 | cd ../ | ||
| 55 | git clone https://github.com/linux-test-project/lcov.git --depth 1 ; | 56 | git clone https://github.com/linux-test-project/lcov.git --depth 1 ; |
| 56 | rm -rf ./lcov/examples/ ./lcov/test/ ; | 57 | rm -rf ./lcov/examples/ ./lcov/test/ ; |
| 57 | ./lcov/bin/lcov -c -o ./COV.info --rc lcov_branch_coverage=1 --base-directory . --directory . ; | 58 | ./lcov/bin/lcov -c -o ./src/COV.info --rc lcov_branch_coverage=1 --base-directory ./src/ --directory . ; |
| 58 | ./lcov/bin/lcov --remove ./COV.info "/usr/*" --remove ./COV.info "*tweetnacl.c" -o ./COV.info --rc lcov_branch_coverage=1 ; | 59 | ./lcov/bin/lcov --remove ./src/COV.info "/usr/*" --remove ./src/COV.info "./src/*tweetnacl.c" -o ./src/COV.info --rc lcov_branch_coverage=1 ; |
| 59 | ./lcov/bin/genhtml -o ./COV.html ./COV.info --branch-coverage ; | 60 | ./lcov/bin/genhtml -o ./src/COV.html ./src/COV.info --branch-coverage ; |
| 60 | coveralls --exclude "tweetnacl.c" ; | 61 | coveralls --exclude "./src/tweetnacl.c" ; |
| 61 | fi' | 62 | fi' |
| 62 | 63 | ||
| 63 | after_failure: | 64 | after_failure: |
