summaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2015-05-08 00:19:56 +0100
committerDamien George <damien.p.george@gmail.com>2015-05-08 00:19:56 +0100
commitd3b32caea410897d8bac849489b4558505869dfe (patch)
treedd914fed2f39943b8d05f377cd6ff70a160e3518 /.travis.yml
parent0589c19d5239bb4456f06049925d71851e896d1e (diff)
unix: Add special function to improve coverage.
The function and corresponding command-line option are only enabled for the coverage build. They are used to exercise uPy features that can't be properly tested by Python scripts.
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml2
1 files changed, 2 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml
index c598783f4..5d9a383c1 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -35,6 +35,8 @@ script:
- make -C unix CC=gcc-4.7 coverage
- (cd tests && MICROPY_CPYTHON3=python3.4 MICROPY_MICROPYTHON=../unix/micropython_coverage ./run-tests)
- (cd tests && MICROPY_CPYTHON3=python3.4 MICROPY_MICROPYTHON=../unix/micropython_coverage ./run-tests --emit native)
+ # TODO the output of this extra coverage test is not checked
+ - unix/micropython_coverage --coverage
after_success:
- (cd unix && coveralls --root .. --build-root . --gcov $(which gcov-4.7) --gcov-options '\-o build-coverage/' --include py --include extmod)