summaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authorAsk Solem <ask@celeryproject.org>2015-12-07 17:40:03 -0800
committerAsk Solem <ask@celeryproject.org>2015-12-07 17:40:03 -0800
commit41fe4f5315cbc65085131023ecc49a7e546e1966 (patch)
treeef2b0239e616a9737fe57873a87410c5b391f96f /.travis.yml
parentc650cafc14730db0f1f404b54749eab4cb1d6f5a (diff)
downloadpy-amqp-41fe4f5315cbc65085131023ecc49a7e546e1966.tar.gz
Unit tests for amqp, with 96% coverage so far
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml41
1 files changed, 22 insertions, 19 deletions
diff --git a/.travis.yml b/.travis.yml
index 1cfb86f..26d593a 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,22 +1,25 @@
language: python
+sudo: false
+cache: false
python:
- - 2.7
- - 3.3
- - 3.4
- - pypy
-before_install:
- - |
- deactivate
- if python --version |& grep PyPy; then
- sudo apt-add-repository --yes ppa:pypy/ppa
- sudo apt-get update
- sudo apt-get install pypy
- source ~/virtualenv/pypy/bin/activate
- fi
- python --version
- uname -a
- lsb_release -a
- sudo pip install tox
-script: tox -v -e $TRAVIS_PYTHON_VERSION -- -v
+ - '3.5'
+env:
+ global:
+ PYTHONUNBUFFERED=yes
+ matrix:
+ - TOXENV=2.7
+ - TOXENV=3.4
+ - TOXENV=pypy
+ - TOXENV=3.5
+ - TOXENV=pypy3
+install: travis_retry pip install -U tox
+script: tox -v -- -v
after_success:
- - .tox/$TRAVIS_PYTHON_VERSION/bin/coveralls
+ - .tox/$TRAVIS_PYTHON_VERSION/bin/coverage xml
+ - .tox/$TRAVIS_PYTHON_VERSION/bin/codecov -e TOXENV
+notifications:
+ irc:
+ channels:
+ - "chat.freenode.net#celery"
+ on_success: change
+ on_failure: change