.travis.yml 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. language: python
  2. env: PYTHON=python3
  3. matrix:
  4. include:
  5. - name: "Python 3.5 on Linux"
  6. os: linux
  7. python: 3.5
  8. - name: "Python 3.6 on Linux"
  9. os: linux
  10. python: 3.6
  11. - name: "Python 3.7 on Linux"
  12. os: linux
  13. python: 3.7
  14. - name: "Python 3.8 on Linux"
  15. os: linux
  16. python: 3.8
  17. - name: "PyPy 3 on Linux"
  18. os: linux
  19. python: pypy3
  20. - name: "Python 3 on macOS"
  21. os: osx
  22. language: shell
  23. - name: "Python 3.8 on Windows"
  24. os: windows
  25. language: shell
  26. before_install:
  27. - choco install python --version 3.8
  28. - python -m pip install --upgrade pip
  29. env: PATH=/c/Python38:/c/Python38/Scripts:$PATH PYTHON=python
  30. notifications:
  31. webhooks:
  32. - https://coveralls.io/webhook?repo_token=COVERALLS_REPO_TOKEN
  33. install:
  34. - ${PYTHON} --version
  35. - ${PYTHON} -m pip install --upgrade coveralls
  36. - ${PYTHON} -m pip install --upgrade --editable .[test,bcrypt]
  37. - ${PYTHON} -m pip list
  38. script:
  39. - ${PYTHON} setup.py test
  40. after_success:
  41. - env COVERALLS_PARALLEL=true ${PYTHON} -m coveralls