File tree Expand file tree Collapse file tree 1 file changed +12
-9
lines changed Expand file tree Collapse file tree 1 file changed +12
-9
lines changed Original file line number Diff line number Diff line change 11language : python 
22cache : pip 
33
4- python :
5-   - 2.7 
6-   - 3.4 
7-   - 3.5 
8-   - 3.6 
9-   - pypy 
10-   - pypy3 
4+ # python:
5+ #   - 2.7
6+ #   - 3.4
7+ #   - 3.5
8+ #   - 3.6
9+ #   - pypy
10+ #   - pypy3
1111
1212matrix :
1313  include :
@@ -24,9 +24,12 @@ matrix:
2424
2525install :
2626  - if [[ $TRAVIS_OS_NAME == osx ]]; then brew update; fi 
27-   - if [[ $TRAVIS_OS_NAME == osx ]]; then brew upgrade openssl; fi 
27+   - if [[ $TRAVIS_OS_NAME == osx && $PYTHON_VERSION == 3 ]]; then brew upgrade python; fi 
28+   - if [[ $TRAVIS_OS_NAME == osx ]]; then brew list openssl &>/dev/null || brew install openssl; fi 
2829  - if [[ $TRAVIS_OS_NAME == osx ]]; then export LDFLAGS="-L$(brew --prefix openssl)/lib" CFLAGS="-I$(brew --prefix openssl)/include"; fi 
29-   - virtualenv --python=python$PYTHON_VERSION env 
30+   - if [[ $TRAVIS_OS_NAME == osx && $PYTHON_VERSION == 3 ]]; then python --version; fi 
31+   - if [[ $TRAVIS_OS_NAME == osx && $PYTHON_VERSION == 3 ]]; then python -m venv env; fi 
32+   - if [[ $TRAVIS_OS_NAME == osx && $PYTHON_VERSION == 2 ]]; then virtualenv --python=python$PYTHON_VERSION env; fi 
3033  - source env/bin/activate 
3134  - make install 
3235  - if [[ $TRAVIS_PYTHON_VERSION == pypy ]]; then pip install lxml==3.8.0; fi 
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments