Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tests: Add Tox support and test under Python 3.4/3.5 #56

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
*.pyc
/_trial_temp
/.coverage
/.tox
/htmlcov
/build
/dist
9 changes: 0 additions & 9 deletions .travis.install

This file was deleted.

5 changes: 3 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,11 @@ python:
- "2.7"
- "3.2"
- "3.3"
- "3.4"
- "3.5"

install:
- "bash .travis.install"
- "pip install pytest coveralls pytz ."
- "pip install -rrequirements.txt"
script:
- "coverage run $(which py.test) ."
after_success:
Expand Down
6 changes: 6 additions & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
.
coverage < 4.0
coveralls
pytest
pytz
twisted ; python_version <= '3.0'
14 changes: 14 additions & 0 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
[tox]
envlist =
py26
py27
py32
py33
py34
py35

[testenv]
deps =
-rrequirements.txt
commands =
py.test .