2018-08-22 00:47:28 +08:00
|
|
|
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:
|
2018-09-21 02:33:34 +08:00
|
|
|
- python setup.py bdist_wheel
|
|
|
|
- pip install dist/west*.whl
|
2018-08-22 00:47:28 +08:00
|
|
|
- pip install -r tests_requirements.txt
|
|
|
|
- mkdir -p shippable/{testresults,codecoverage}
|
2018-09-28 23:32:32 +08:00
|
|
|
- PYTHONPATH=src pytest --junitxml=shippable/testresults/nosetests.xml tests
|
|
|
|
- PYTHONPATH=src pytest --cov=west --cov-report=xml:shippable/codecoverage/coverage.xml tests
|