lorax/.travis.yml
Brian C. Lane b61a91954a Fix reporting of coverage results to coverall.io
When I re-arranged the test-in-docker I didn't realize how .travis.yml
was extracting the results. This should fix it.

When running with test-in-docker we mount the source read-only on
/linux-ro/ inside the container and copy it over to /lorax/ for running
the tests.

The local directory ./.test-results/ is mounted on /test-results/ in the
container and the .coverage file is copied into there so that it is
available on the host.
2018-11-14 09:11:03 -08:00

22 lines
316 B
YAML

sudo: required
language: python
services:
- docker
script:
- make test-in-docker
after_success:
- |
cp .test-results/.coverage ./.coverage.docker
pip install coverage coveralls
coverage combine
coveralls
notifications:
email:
on_failure: change
on_success: never