File tree Expand file tree Collapse file tree 2 files changed +9
-16
lines changed Expand file tree Collapse file tree 2 files changed +9
-16
lines changed Original file line number Diff line number Diff 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
102101before_install : | 
103102  case "$TRAVIS_OS_NAME" in 
Original file line number Diff line number Diff 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 :
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments