Skip to content

Commit c0c73b6

Browse files
committed
[#198] Test with/without lxml installed on Travis
1 parent ec5821c commit c0c73b6

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.travis.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,13 @@ python:
55
- "3.3"
66
- "3.4"
77
- "3.5"
8+
env:
9+
- INSTALL_LXML=true
10+
- INSTALL_LXML=false
811
# Apparently six must be installed first, otherwise setup.py will be unhappy
9-
install: pip install six && pip install --upgrade -r requirements_dev.txt
12+
install:
13+
- pip install six
14+
- pip install --upgrade -r requirements_dev.txt
15+
- if [ \"$INSTALL_LXML\" == \"true\" ]; then pip install lxml; fi
1016
script: py.test --cov .
1117
after_success: coveralls

0 commit comments

Comments
 (0)