Skip to content
This repository was archived by the owner on May 4, 2020. It is now read-only.

Commit e62f420

Browse files
committed
test against both git master and latest pypi for dependencies.
1 parent c2566ec commit e62f420

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

.travis.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@ sudo: false
33

44
language: python
55

6+
env:
7+
- DEPS=git
8+
- DEPS=pypi
9+
610
python:
711
- "3.5"
812
- "3.4"
@@ -12,8 +16,8 @@ python:
1216

1317
# command to install dependencies
1418
install:
15-
- pip install -U xlrd xlwt
16-
- pip install -Ue .[test,build]
19+
- sh -c "pip install -Ue .[test,build]"
20+
- sh -c "if [ $DEPS = 'git' ]; then pip install -U git+https://github.com/python-excel/xlrd.git git+https://github.com/python-excel/xlwt.git; fi"
1721

1822
# command to run tests, e.g. python setup.py test
1923
script: nosetests --with-cov --cov=xlutils

0 commit comments

Comments
 (0)