Skip to content

Commit

Permalink
Merge pull request #320 from inducer/py26-dev-travis
Browse files Browse the repository at this point in the history
Adapt .travis.yml to use correct req.txt file for Py2.6
  • Loading branch information
inducer committed Oct 28, 2018
2 parents 3badffb + ba6a532 commit 5f9507e
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 5f9507e

Please sign in to comment.