Skip to content
This repository has been archived by the owner on Apr 12, 2021. It is now read-only.

use tox to run tests against Python2.7 and 3.4 #34

Closed
wants to merge 3 commits into from
Closed
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,3 +1,4 @@
.tox/
*.clouseau
*.swn
*.egg-info
Expand Down
9 changes: 4 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
language: python
python:
- "2.7"
install:
- pip install -r requirements.txt
- pip install tox
script:
- pip freeze
- nosetests -d
- tox
env:
- TOXENV=py27
1 change: 0 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
jinja2
nose
nose-progressive
1 change: 0 additions & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
[nosetests]
verbosity=2
nocapture=1
with-progressive=1
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
'download_url': 'http://tbd.com',
'author_email': 'bill@if.io',
'version': '0.2.0',
'install_requires': ['jinja2','nose','nose-progressive'],
'install_requires': ['jinja2','nose'],
'packages': ['clouseau','tests'],
'package_data': {'clouseau': ['clients/*.py', 'patterns/*.txt', 'templates/*.html']},
'py_modules': [],
Expand Down
6 changes: 6 additions & 0 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
[tox]
envlist=py27

[testenv]
deps=-rrequirements.txt
commands=nosetests
Empty file modified travis_clouseau.sh
100644 → 100755
Empty file.