Skip to content

Commit

Permalink
Adapt .travis.yml to use correct req.txt file for Py2.6
Browse files Browse the repository at this point in the history
  • Loading branch information
inducer committed Oct 28, 2018
1 parent 3badffb commit 6d0cb74
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .travis.yml
Expand Up @@ -7,7 +7,13 @@ python:

# command to install dependencies
install:
- "pip install -r requirements.dev.txt"
- |
PY_VER=$(python -c 'import sys; sys.stdout.write("%d.%d" % sys.version_info[:2])') ; \
if test "$PY_VER"= "2.6"; then ; \
pip install -r requirements.dev-2.6.txt"; \
else \
pip install -r requirements.dev.txt"; \
fi
- "pip install -e ."

# command to run tests
Expand Down

0 comments on commit 6d0cb74

Please sign in to comment.