7809da61e6
- use same version of coverage.py as is inside the container b/c data format has changed between versions - use `coverage combine' with a .coveragerc mapping to adjust for differences in file paths between the container and Travis
24 lines
442 B
YAML
24 lines
442 B
YAML
sudo: required
|
|
language: python
|
|
services:
|
|
- docker
|
|
|
|
script:
|
|
- make test-in-docker
|
|
|
|
after_success:
|
|
- |
|
|
|
|
sudo docker create --name results-cont welder/lorax-composer
|
|
sudo docker cp results-cont:/lorax/.coverage .coverage.docker
|
|
sudo docker rm results-cont
|
|
|
|
pip install coverage==3.6 coveralls
|
|
coverage combine
|
|
coveralls
|
|
|
|
notifications:
|
|
email:
|
|
on_failure: change
|
|
on_success: never
|