File tree 2 files changed +9
-16
lines changed
2 files changed +9
-16
lines changed Original file line number Diff line number Diff line change @@ -97,7 +97,6 @@ matrix:
97
97
- $HOME/.ccache # https://github.com/travis-ci/travis-ci/issues/5853
98
98
- $HOME/.cache/matplotlib
99
99
allow_failures :
100
- - python : " nightly"
101
100
102
101
before_install : |
103
102
case "$TRAVIS_OS_NAME" in
Original file line number Diff line number Diff line change @@ -57,30 +57,24 @@ steps:
57
57
texlive-xetex texlive-luatex
58
58
displayName: 'Install dependencies with apt'
59
59
60
- - script : |
61
-
60
+ - bash : |
62
61
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' ]]
65
64
displayName : ' Install dependencies with pip'
66
65
67
- - script : |
68
-
69
- pip install -ve .
70
-
66
+ - bash : |
67
+ MPLLOCALFREETYPE=1 pip install -ve . ||
68
+ [[ "$PYTHON_VERSION" = 'Pre' ]]
71
69
displayName : " Install self"
72
- env :
73
- MPLLOCALFREETYPE : 1
74
70
75
71
- script : env
76
72
displayName : ' print env'
77
73
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' ]]
81
77
displayName : ' pytest'
82
- env :
83
- PYTHONFAULTHANDLER : 1
84
78
85
79
- task : PublishTestResults@2
86
80
inputs :
You can’t perform that action at this time.
0 commit comments