a0a76a800a
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.
(cherry picked from commit b61a91954a
)
22 lines
316 B
YAML
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
|