File tree 1 file changed +11
-9
lines changed
1 file changed +11
-9
lines changed Original file line number Diff line number Diff line change 1
1
language : python
2
2
cache : pip
3
3
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
11
11
12
12
matrix :
13
13
include :
@@ -24,9 +24,11 @@ matrix:
24
24
25
25
install :
26
26
- 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
28
29
- 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 -m venv env; fi
31
+ - if [[ $TRAVIS_OS_NAME == osx && $PYTHON_VERSION == 2 ]]; then virtualenv --python=python$PYTHON_VERSION env; fi
30
32
- source env/bin/activate
31
33
- make install
32
34
- 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