2020-01-18 00:49:55 +08:00
|
|
|
runtime:
|
|
|
|
nodePool: large_nodes
|
|
|
|
|
2018-08-22 00:47:28 +08:00
|
|
|
language: python
|
2019-12-19 07:58:28 +08:00
|
|
|
# TODO: 3.7 and 3.8 need testing here.
|
2018-08-22 00:47:28 +08:00
|
|
|
python:
|
2019-12-19 07:58:28 +08:00
|
|
|
- 3.6 # minimum supported version
|
2018-08-22 00:47:28 +08:00
|
|
|
|
|
|
|
build:
|
2019-12-19 07:58:28 +08:00
|
|
|
pre_ci_boot:
|
|
|
|
image_name: zephyrprojectrtos/ci
|
|
|
|
image_tag: v0.10.1
|
|
|
|
pull: true
|
|
|
|
options: "-e HOME=/home/buildslave --privileged=true --tty --net=bridge --user buildslave"
|
2018-08-22 00:47:28 +08:00
|
|
|
ci:
|
2019-12-19 07:58:28 +08:00
|
|
|
- type -p python3
|
|
|
|
- python3 --version
|
|
|
|
- export PATH=$PATH:$HOME/.local/bin
|
|
|
|
- pip3 install tox
|
2018-08-22 00:47:28 +08:00
|
|
|
- mkdir -p shippable/{testresults,codecoverage}
|
2020-01-15 08:12:04 +08:00
|
|
|
- tox -- --junitxml=$PWD/shippable/testresults/nosetests.xml --cov-report=xml:$PWD/shippable/codecoverage/coverage.xml tests
|