.travis.yml 1.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. language: python
  2. python: 2.7
  3. env:
  4. global:
  5. PYTHONUNBUFFERED=yes
  6. matrix:
  7. - TOXENV=2.6
  8. - TOXENV=2.7
  9. - TOXENV=3.3
  10. - TOXENV=3.4
  11. - TOXENV=pypy
  12. before_install:
  13. - |
  14. if [[ $TOXENV = pypy ]]; then
  15. deactivate
  16. sudo apt-add-repository --yes ppa:pypy/ppa
  17. sudo apt-get update
  18. sudo apt-get install pypy
  19. source ~/virtualenv/pypy/bin/activate
  20. fi
  21. if [[ $TOXENV = 3.4 ]]; then
  22. sudo apt-get update
  23. sudo apt-get install python3.4-dev
  24. source ~/virtualenv/python3.4
  25. virtualenv ~/virtualenv/python3.4 --python=$(which python3.4)
  26. source ~/virtualenv/python3.4/bin/activate
  27. fi
  28. python --version
  29. uname -a
  30. lsb_release -a
  31. install:
  32. - pip install tox
  33. script:
  34. - tox -v -- nosetests --nocapture --nologcapture --no-path-adjustment --with-coverage --cover-inclusive --cover-erase --verbose
  35. after_success:
  36. - .tox/$TRAVIS_PYTHON_VERSION/bin/coveralls
  37. notifications:
  38. irc:
  39. channels:
  40. - "chat.freenode.net#celery"
  41. on_success: always
  42. on_failure: always