summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2017-01-20 13:12:23 +1100
committerDamien George <damien.p.george@gmail.com>2017-01-20 13:12:23 +1100
commit4d1ba482f5067c541b76b18b97c9130f4d413d59 (patch)
tree7b5ce522c717b8f96a1e764e73e50fe2a1aacd41
parent7314ebae8a3c7fae2c61427d428593ce84b4ccb5 (diff)
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.
-rw-r--r--.travis.yml2
1 files changed, 1 insertions, 1 deletions
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: