Skip to content

Commit

Permalink
Force xmlschema < 1.1 for Python 2 (#233)
Browse files Browse the repository at this point in the history
* Update .travis.yml

* Add quotation marks around package name

* Simplify dependency version resolution
  • Loading branch information
matthew-reynolds authored Feb 10, 2020
1 parent 7a6be21 commit 30f32ef
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 5,8 @@ python:
# command to install dependencies
install:
- pip install docutils
- pip install xmlschema
# xmlschema 1.1 dropped support for Python 2
- if [ $TRAVIS_PYTHON_VERSION == "2.7" ]; then pip install "xmlschema<1.1"; else pip install xmlschema; fi
# command to run tests
script:
- make
Expand Down

0 comments on commit 30f32ef

Please sign in to comment.