Skip to content

Commit

Permalink
Continue debug travis file to pass tests on osx
Browse files Browse the repository at this point in the history
  • Loading branch information
vo-va committed Mar 17, 2018
1 parent 3315b5a commit 02e538c
Showing 1 changed file with 12 additions and 9 deletions.
21 changes: 12 additions & 9 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
language: python
cache: pip

python:
- 2.7
- 3.4
- 3.5
- 3.6
- pypy
- pypy3
#python:
# - 2.7
# - 3.4
# - 3.5
# - 3.6
# - pypy
# - pypy3

matrix:
include:
Expand All @@ -24,9 +24,12 @@ matrix:

install:
- if [[ $TRAVIS_OS_NAME == osx ]]; then brew update; fi
- if [[ $TRAVIS_OS_NAME == osx ]]; then brew upgrade openssl; fi
- if [[ $TRAVIS_OS_NAME == osx && $PYTHON_VERSION == 3 ]]; then brew upgrade python; fi
- if [[ $TRAVIS_OS_NAME == osx ]]; then brew list openssl &>/dev/null || brew install openssl; fi
- if [[ $TRAVIS_OS_NAME == osx ]]; then export LDFLAGS="-L$(brew --prefix openssl)/lib" CFLAGS="-I$(brew --prefix openssl)/include"; fi
- virtualenv --python=python$PYTHON_VERSION env
- if [[ $TRAVIS_OS_NAME == osx && $PYTHON_VERSION == 3 ]]; then python --version; fi
- if [[ $TRAVIS_OS_NAME == osx && $PYTHON_VERSION == 3 ]]; then python -m venv env; fi
- if [[ $TRAVIS_OS_NAME == osx && $PYTHON_VERSION == 2 ]]; then virtualenv --python=python$PYTHON_VERSION env; fi
- source env/bin/activate
- make install
- if [[ $TRAVIS_PYTHON_VERSION == pypy ]]; then pip install lxml==3.8.0; fi
Expand Down

0 comments on commit 02e538c

Please sign in to comment.