Skip to content

Commit

Permalink
PyYAML works on 3.7 now. Install patched defusedxml for 3.8-dev
Browse files Browse the repository at this point in the history
  • Loading branch information
ecederstrand committed Aug 8, 2018
1 parent 1d35651 commit 1e2e203
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,12 @@ before_install:
-in settings.yml.enc -out settings.yml -d

install:
# Sometimes, only lxml master branch compiles with Python nightly
# Only lxml master branch compiles with Python nightly
# - if [[ "$( python --version | grep 'a' )" ]] ; then pip install cython && pip install git+https://github.com/lxml/lxml.git ; fi
# Only PyYAML master branch compiles with Python nightly
- if [[ "$( python --version | grep 'a' )" ]] ; then pip install git+https://github.com/yaml/pyyaml.git ; fi
# - if [[ "$( python --version | grep 'a' )" ]] ; then pip install git+https://github.com/yaml/pyyaml.git ; fi
# Fix for changed XMLParser signature on Python nightly
- if [[ "$( python --version | grep 'a' )" ]] ; then pip install git+https://github.com/ecederstrand/defusedxml.git@patch-2 ; fi
- pip install .
# Install test dependencies manually since we're calling tests/__init__.py directly in the 'script' section
- pip install PyYAML requests_mock psutil
Expand Down

0 comments on commit 1e2e203

Please sign in to comment.