more CI test fixes

This commit is contained in:
Anthony Scopatz 2019-01-28 17:50:59 -05:00
parent e79df59103
commit 59ce28710d
2 changed files with 9 additions and 2 deletions

View file

@ -21,17 +21,24 @@ jobs:
# Conda Environment
# Create and activate a Conda environment.
- task: CondaEnvironment@1
inputs:
packageSpecs: 'python=$(python.version) pygments prompt_toolkit ply pytest pytest-timeout numpy psutil matplotlib flake8 coverage pyflakes pytest-cov pytest-flake8 codecov'
installOptions: '-c conda-forge/label/cf201901'
updateConda: false
condition: eq(variables['python.version'], '3.5')
- task: CondaEnvironment@1
inputs:
packageSpecs: 'python=$(python.version) pygments prompt_toolkit ply pytest pytest-timeout numpy psutil matplotlib flake8 coverage pyflakes pytest-cov pytest-flake8 codecov'
installOptions: '-c conda-forge'
updateConda: false
condition: ne(variables['python.version'], '3.5')
- script: |
pip install .
xonsh run-tests.xsh --timeout=10 --junitxml=junit/test-results.xml
displayName: 'Tests'
# Publish build results
# Publish build results
- task: PublishTestResults@2
inputs:
testResultsFiles: '**/test-*.xml'

View file

@ -2,7 +2,7 @@ ply
py
pytest
flake8
pyflakes
pyflakes<2.1.0,>=2.0.0
pytest-flake8
pytest-cov
pytest-timeout