Skip to content

Commit

Permalink
Tox and Travis configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
Rémy HUBSCHER committed Oct 14, 2013
1 parent 3da237c commit e5811fc
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 15 deletions.
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ python:
- "2.7"
- "3.3"
install:
- pip install -r test-requirements.pip
- python setup.py develop
- (cd demo; python setup.py develop)
script: flake8 chartjs && demo test demoproject
Expand Down
2 changes: 0 additions & 2 deletions demo/demoproject/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,8 +85,6 @@
NOSE_ARGS = ['--verbose',
'--nocapture',
'--rednose',
'--with-id', # allows --failed which only reruns failed tests
'--id-file=%s' % join(data_dir, 'noseids'),
'--with-doctest',
'--with-xunit',
'--xunit-file=%s' % join(data_dir, 'nosetests.xml'),
Expand Down
6 changes: 6 additions & 0 deletions test-requirements.pip
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
Django
flake8
django-nose
coverage
nose
rednose
5 changes: 0 additions & 5 deletions test.sh

This file was deleted.

9 changes: 1 addition & 8 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,8 @@ envlist = py27,py33

[testenv]
commands =
pip install -r test-requirements.pip
pip install -e ./
pip install -e demo/
flake8 chartjs
rm -f var/noseids
coverage run --branch --source=chartjs {envbindir}/demo test demoproject
deps =
Django
flake8
django-nose
coverage
nose
rednose

0 comments on commit e5811fc

Please sign in to comment.