Skip to content

Commit

Permalink
Uses Travis' Python environment variable.
Browse files Browse the repository at this point in the history
  • Loading branch information
jfinkels committed Jul 1, 2016
1 parent ec1dd34 commit 09aa8a3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,10 @@ addons:
before_install:
# Determine whether we're using PyPy, as it determines which requirements
# file we will use.
- if (python --version 2>&1 | grep PyPy > /dev/null); then export REQUIREMENTS=requirements-test-pypy.txt; else export REQUIREMENTS=requirements-test-cpython.txt; fi
- if [[ "$TRAVIS_PYTHON_VERSION" == "pypy" ]]; then export REQUIREMENTS=requirements-test-pypy.txt; else export REQUIREMENTS=requirements-test-cpython.txt; fi
- pip install --upgrade pip

install:
- pip install --upgrade pip
- pip install -r $REQUIREMENTS
- pip install coveralls

Expand Down

0 comments on commit 09aa8a3

Please sign in to comment.