Skip to content

Commit

Permalink
Use tox to run Travis tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ask committed Mar 20, 2012
1 parent c17e696 commit 0636d2a
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,10 @@ language: python
python:
- 2.6
- 2.7
install: pip install -r requirements/default.txt -r requirements/test.txt
script: nosetests
install: pip install --use-mirrors tox
script: contrib/release/travistest
notifications:
irc:
channels: "irc.freenode.org#celery"
on_success: change
on_failure: change
4 changes: 4 additions & 0 deletions contrib/release/travistest
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/bin/bash
#--
export TOXENV="py$(echo $TRAVIS_PYTHON_VERSION | sed 's/\.//g')"
tox

0 comments on commit 0636d2a

Please sign in to comment.