west/.shippable.yml

18 lines
711 B
YAML
Raw Normal View History

language: python
# TODO: 3.7 is failing. It'd be good to figure this out eventually as
# it's the latest version which is likely what Windows and macOS users
# run on, but is left out for now.
python:
- 3.4 # minimum supported version
- 3.5 # ubuntu 16.04
- 3.6 # ubuntu 18.04
build:
ci:
- python setup.py bdist_wheel
- pip install dist/west*.whl
- pip install -r tests_requirements.txt
- mkdir -p shippable/{testresults,codecoverage}
- PYTHONPATH=src pytest --junitxml=shippable/testresults/nosetests.xml tests
- PYTHONPATH=src pytest --cov=west --cov-report=xml:shippable/codecoverage/coverage.xml tests