From 4d1ba482f5067c541b76b18b97c9130f4d413d59 Mon Sep 17 00:00:00 2001 From: Damien George Date: Fri, 20 Jan 2017 13:12:23 +1100 Subject: [PATCH] travis: Unconditionally run coveralls analysis, even if others failed. If, for example, the code-size check failed we would still like to run the coveralls coverage analysis. --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index a6732d3af..2a5c597eb 100644 --- a/.travis.yml +++ b/.travis.yml @@ -58,7 +58,7 @@ script: - (cd tests && MICROPY_CPYTHON3=python3.4 MICROPY_MICROPYTHON=../unix/micropython_coverage ./run-tests --emit native) - (cd tests && MICROPY_CPYTHON3=python3.4 MICROPY_MICROPYTHON=../unix/micropython_coverage ./run-tests --via-mpy -d basics float) -after_success: + # run coveralls coverage analysis (try to, even if some builds/tests failed) - (cd unix && coveralls --root .. --build-root . --gcov $(which gcov) --gcov-options '\-o build-coverage/' --include py --include extmod) after_failure: