This repository has been archived by the owner on Jan 9, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 316
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #23 from Grokzen/travis-ci
TravisCI & coveralls support.
- Loading branch information
Showing
4 changed files
with
155 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,3 +4,4 @@ | |
env27* | ||
.tox | ||
rediscluster.egg-info | ||
.coverage |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
language: python | ||
python: | ||
- "3.3" | ||
- "3.2" | ||
- "2.7" | ||
services: | ||
- redis-server | ||
env: | ||
- TEST_HIREDIS=0 | ||
- TEST_HIREDIS=1 | ||
install: | ||
- make travis-install | ||
- pip install pytest>=2.5.0 | ||
- pip install coverage python-coveralls | ||
- pip install -e . | ||
- "if [[ $TEST_PEP8 == '1' ]]; then pip install pep8; fi" | ||
- "if [[ $TEST_HIREDIS == '1' ]]; then pip install hiredis; fi" | ||
script: "if [[ $TEST_PEP8 == '1' ]]; then pep8 --repeat --show-source --exclude=.venv,.tox,dist,docs,build,rediscluster.egg-info,.git --ignore=E501 .; else make test; fi" | ||
after_success: "if [[ $TEST_PEP8 == '1' ]]; then echo 'No coveralls for pep8 tests...'; else coveralls; fi" | ||
matrix: | ||
include: | ||
- python: "2.7" | ||
env: TEST_PEP8=1 | ||
- python: "3.4" | ||
env: TEST_PEP8=1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters