.travis.yml 956 B

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. language: python
  2. python: 2.7
  3. env:
  4. global:
  5. PYTHONUNBUFFERED=yes
  6. LANGUAGE="en_US.UTF-8"
  7. LANG="en_US.UTF-8"
  8. LC_ALL="en_US.UTF-8"
  9. TERM="xterm-256color"
  10. LOCALE=C
  11. matrix:
  12. - TOXENV=2.6
  13. - TOXENV=2.7
  14. - TOXENV=3.3
  15. - TOXENV=3.4
  16. - TOXENV=pypy
  17. before_install:
  18. - |
  19. if [[ $TOXENV = pypy ]]; then
  20. deactivate
  21. sudo apt-add-repository --yes ppa:pypy/ppa
  22. sudo apt-get update
  23. sudo apt-get install pypy
  24. source ~/virtualenv/pypy/bin/activate
  25. fi
  26. python --version
  27. uname -a
  28. lsb_release -a
  29. install:
  30. - # PyPy: we use -q here to avoid unicode errors in pip progress bar.
  31. - pip -q install -U pip
  32. - pip -q install -U tox
  33. script:
  34. - tox -v -- -v
  35. after_success:
  36. - .tox/$TRAVIS_PYTHON_VERSION/bin/coverage xml
  37. - .tox/$TRAVIS_PYTHON_VERSION/bin/codecov -e TOXENV
  38. notifications:
  39. irc:
  40. channels:
  41. - "chat.freenode.net#celery"
  42. on_success: change
  43. on_failure: change