Skip to content

Commit

Permalink
Only use coveralls with Travis, not tox or general local development
Browse files Browse the repository at this point in the history
Because `pip install coveralls` breaks on Windows as of now.
  • Loading branch information
audreyfeldroy committed Sep 22, 2013
1 parent 1d4f12b commit 7cd1bd0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,12 @@ python:
- "pypy"

# command to install dependencies, e.g. pip install -r requirements.txt --use-mirrors
# Note: we only use coveralls with Travis, not tox. pip install coveralls doesn't work on Windows.
# This setup makes it possible for:
# 1. the tests to be run with tox on Windows
# 2. Windows users to use the requirements files without running into installation problems.
install:
- pip install coveralls
- if [[ $TRAVIS_PYTHON_VERSION == '2.6' ]]; then pip install -r requirements/test_26.txt; fi
- if [[ $TRAVIS_PYTHON_VERSION == '2.7' ]]; then pip install -r requirements/test_27.txt; fi
- if [[ $TRAVIS_PYTHON_VERSION == 'pypy' ]]; then pip install -r requirements/test_27.txt; fi
Expand Down
1 change: 0 additions & 1 deletion requirements/base_test.txt
Original file line number Diff line number Diff line change
@@ -1 +0,0 @@
coveralls

0 comments on commit 7cd1bd0

Please sign in to comment.