Skip to content

Commit aa14324

Browse files
authored
Upgrade setuptools prior to installing dependencies
Avoids issues where setuptools isn't in a viable state during build of other packages.
1 parent 8cd0339 commit aa14324

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.travis.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,11 @@ python:
1010
- "2.7"
1111
- "2.6"
1212

13-
# command to install dependencies
14-
install: "pip install -Ur requirements.txt"
13+
install:
14+
# upgrade setuptools separately to avoid race condition
15+
- pip install -U setuptools
16+
# install dependencies
17+
- pip install -Ur requirements.txt
1518

1619
# command to run tests, e.g. python setup.py test
1720
script: nosetests --with-cov --cov=xlrd

0 commit comments

Comments
 (0)