.travis.yml 1.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. language: python
  2. sudo: false
  3. matrix:
  4. include:
  5. - python: 2.7
  6. env: TOX_ENV=flake8
  7. - python: 2.7
  8. env: TOX_ENV=docs
  9. - python: 2.7
  10. env: TOX_ENV=gae
  11. - python: 2.7
  12. env: TOX_ENV=py27
  13. - python: 3.4
  14. env: TOX_ENV=py34
  15. - python: 3.5
  16. env: TOX_ENV=py35
  17. - python: 2.7
  18. env: TOX_ENV=system-tests
  19. - python: 3.4
  20. env: TOX_ENV=system-tests3
  21. - python: 2.7
  22. env: TOX_ENV=cover
  23. env:
  24. global:
  25. - GAE_PYTHONPATH=${HOME}/.cache/google_appengine
  26. cache:
  27. directories:
  28. - ${HOME}/.cache
  29. - ${HOME}/.pyenv
  30. install:
  31. - ./scripts/install.sh
  32. script:
  33. - ./scripts/run.sh
  34. after_success:
  35. - if [[ "${TOX_ENV}" == "cover" ]]; then coveralls; fi
  36. notifications:
  37. email: false
  38. deploy:
  39. provider: pypi
  40. user: gcloudpypi
  41. distributions: sdist bdist_wheel
  42. password:
  43. secure: "C9ImNa5kbdnrQNfX9ww4PUtQIr3tN+nfxl7eDkP1B8Qr0QNYjrjov7x+DLImkKvmoJd3dxYtYIpLE9esObUHu0gKHYxqymNHtuAAyoBOUfPtmp0vIEse9brNKMtaey5Ngk7ZWz9EHKBBqRHxqgN+Giby+K9Ta3K3urJIq6urYhE="
  44. on:
  45. tags: true
  46. repo: google/oauth2client