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

Skip to content

Commit 2eb0023

Browse files
authored
Merge pull request #15447 from anntzer/py38travis
CI: Move testing of Py3.8 to Travis.
2 parents 4906876 + 721fedb commit 2eb0023

File tree

2 files changed

+9
-16
lines changed

2 files changed

+9
-16
lines changed

.travis.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,6 @@ matrix:
9797
- $HOME/.ccache # https://github.com/travis-ci/travis-ci/issues/5853
9898
- $HOME/.cache/matplotlib
9999
allow_failures:
100-
- python: "nightly"
101100

102101
before_install: |
103102
case "$TRAVIS_OS_NAME" in

ci/azure-pipelines-steps.yml

Lines changed: 9 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -57,30 +57,24 @@ steps:
5757
texlive-xetex texlive-luatex
5858
displayName: 'Install dependencies with apt'
5959
60-
- script: |
61-
60+
- bash: |
6261
python -m pip install --upgrade pip
63-
pip install -r requirements/testing/travis_all.txt -r requirements/testing/travis36.txt
64-
62+
pip install -r requirements/testing/travis_all.txt -r requirements/testing/travis36.txt ||
63+
[[ "$PYTHON_VERSION" = 'Pre' ]]
6564
displayName: 'Install dependencies with pip'
6665

67-
- script: |
68-
69-
pip install -ve .
70-
66+
- bash: |
67+
MPLLOCALFREETYPE=1 pip install -ve . ||
68+
[[ "$PYTHON_VERSION" = 'Pre' ]]
7169
displayName: "Install self"
72-
env:
73-
MPLLOCALFREETYPE: 1
7470

7571
- script: env
7672
displayName: 'print env'
7773

78-
- script: |
79-
env
80-
pytest --junitxml=junit/test-results.xml -raR --maxfail=50 --timeout=300 --durations=25 --cov-report= --cov=lib -n 2
74+
- bash: |
75+
PYTHONFAULTHANDLER=1 pytest --junitxml=junit/test-results.xml -raR --maxfail=50 --timeout=300 --durations=25 --cov-report= --cov=lib -n 2 ||
76+
[[ "$PYTHON_VERSION" = 'Pre' ]]
8177
displayName: 'pytest'
82-
env:
83-
PYTHONFAULTHANDLER: 1
8478

8579
- task: PublishTestResults@2
8680
inputs:

0 commit comments

Comments
 (0)