Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Move testing of Py3.8 to Travis. #15447

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Oct 19, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,6 @@ matrix:
- $HOME/.ccache # https://github.com/travis-ci/travis-ci/issues/5853
- $HOME/.cache/matplotlib
allow_failures:
- python: "nightly"

before_install: |
case "$TRAVIS_OS_NAME" in
Expand Down
24 changes: 9 additions & 15 deletions ci/azure-pipelines-steps.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,30 +57,24 @@ steps:
texlive-xetex texlive-luatex
displayName: 'Install dependencies with apt'

- script: |

- bash: |
python -m pip install --upgrade pip
pip install -r requirements/testing/travis_all.txt -r requirements/testing/travis36.txt

pip install -r requirements/testing/travis_all.txt -r requirements/testing/travis36.txt ||
[[ "$PYTHON_VERSION" = 'Pre' ]]
displayName: 'Install dependencies with pip'

- script: |

pip install -ve .

- bash: |
MPLLOCALFREETYPE=1 pip install -ve . ||
[[ "$PYTHON_VERSION" = 'Pre' ]]
displayName: "Install self"
env:
MPLLOCALFREETYPE: 1

- script: env
displayName: 'print env'

- script: |
env
pytest --junitxml=junit/test-results.xml -raR --maxfail=50 --timeout=300 --durations=25 --cov-report= --cov=lib -n 2
- bash: |
PYTHONFAULTHANDLER=1 pytest --junitxml=junit/test-results.xml -raR --maxfail=50 --timeout=300 --durations=25 --cov-report= --cov=lib -n 2 ||
[[ "$PYTHON_VERSION" = 'Pre' ]]
displayName: 'pytest'
env:
PYTHONFAULTHANDLER: 1

- task: PublishTestResults@2
inputs:
Expand Down