Skip to content

Commit 93cd1bb

Browse files
committed
Store coverage.info under $TMP dir
1 parent 8818e57 commit 93cd1bb

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

travis-ci

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -99,10 +99,10 @@ done
9999

100100
code-coverage() {
101101
CLEAN=1 COVERAGE=1 cppsm test
102-
lcov --capture --directory . --output-file coverage.info
103-
lcov --remove coverage.info '/Applications/*' --output-file coverage.info
104-
bash <(curl -s https://codecov.io/bash) -f coverage.info
105-
rm -f coverage.info
102+
local COVERAGE_INFO="${TMP}coverage.info"
103+
lcov --capture --directory . --output-file "$COVERAGE_INFO"
104+
lcov --remove "$COVERAGE_INFO" '/Applications/*' --output-file "$COVERAGE_INFO"
105+
bash <(curl -s https://codecov.io/bash) -f "$COVERAGE_INFO"
106106
}
107107

108108
format-check() {

0 commit comments

Comments
 (0)