Skip to content

Commit ca3d013

Browse files
authored
Merge pull request #90 from Gallaecio/py34-lxml
Enforce a working lxml version on the Python 3.4 CI environment
2 parents 8f5c7a8 + 6d75855 commit ca3d013

File tree

3 files changed

+7
-5
lines changed

3 files changed

+7
-5
lines changed

.travis.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,7 @@ python:
55
- '3.5'
66
- '3.6'
77
install:
8-
- pip install lxml -e .
9-
- pip install -U codecov pytest-cov
8+
- pip install -r tests/requirements.txt -e .
109
script:
1110
- py.test --cov-report term --cov=cssselect
1211
after_success:

tests/requirements.txt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
codecov
2+
lxml;python_version!="3.4"
3+
lxml<=4.3.5;python_version=="3.4"
4+
pytest
5+
pytest-cov

tox.ini

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,7 @@ envlist = py27, py34, py35, py36
33

44
[testenv]
55
deps=
6-
lxml
7-
pytest<3
8-
pytest-cov
6+
-r tests/requirements.txt
97

108
commands =
119
py.test --cov-report term --cov=cssselect

0 commit comments

Comments
 (0)