make a "future" toxenv
This commit is contained in:
parent
8535503f4a
commit
41186d3fe2
2 changed files with 13 additions and 3 deletions
|
|
@ -65,6 +65,8 @@ jobs:
|
|||
# Use a container since Azure Pipelines may not have the bleeding-edge Python RC
|
||||
- job: FlaskOnLatest
|
||||
pool: { vmImage: ubuntu-latest }
|
||||
variables:
|
||||
TOXENV: 'future'
|
||||
container: python:rc-stretch
|
||||
steps:
|
||||
- script: |
|
||||
|
|
@ -73,6 +75,5 @@ jobs:
|
|||
displayName: 'Install tox'
|
||||
|
||||
# don't fail the build if this doesn't work!
|
||||
- script: |
|
||||
tox --ignore-outcome=true
|
||||
- script: tox
|
||||
displayName: 'Run tox'
|
||||
|
|
|
|||
11
tox.ini
11
tox.ini
|
|
@ -37,6 +37,15 @@ commands =
|
|||
# pytest-cov doesn't seem to play nice with -p
|
||||
coverage run -p -m pytest --junitxml=test-results.xml tests examples
|
||||
|
||||
[testenv:future]
|
||||
ignore_outcome = true
|
||||
|
||||
commands =
|
||||
pip install -q -e examples/tutorial[test]
|
||||
pip install -q -e examples/javascript[test]
|
||||
|
||||
coverage run -p -m pytest tests examples
|
||||
|
||||
[testenv:docs-html]
|
||||
deps =
|
||||
-r docs/requirements.txt
|
||||
|
|
@ -51,7 +60,7 @@ commands =
|
|||
coverage html
|
||||
|
||||
[testenv:codecov]
|
||||
passenv = CI TRAVIS TRAVIS_* APPVEYOR APPVEYOR_*
|
||||
passenv = CI TRAVIS TRAVIS_* APPVEYOR APPVEYOR_* BUILD_* SYSTEM_* AGENT_* TF_BUILD
|
||||
deps = codecov
|
||||
skip_install = true
|
||||
commands =
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue