.travis.yml 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  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: "Python 3 on macOS"
  18. os: osx
  19. language: shell
  20. - name: "Python 3.8 on Windows"
  21. os: windows
  22. language: shell
  23. before_install:
  24. - choco install python --version 3.8
  25. - python -m pip install --upgrade pip
  26. env: PATH=/c/Python38:/c/Python38/Scripts:$PATH PYTHON=python
  27. notifications:
  28. webhooks:
  29. - https://coveralls.io/webhook?repo_token=COVERALLS_REPO_TOKEN
  30. install:
  31. - ${PYTHON} --version
  32. - ${PYTHON} -m pip install --upgrade coveralls
  33. - ${PYTHON} -m pip install --upgrade --editable .[test,bcrypt]
  34. - ${PYTHON} -m pip list
  35. script:
  36. - ${PYTHON} setup.py test
  37. after_success:
  38. - env COVERALLS_PARALLEL=true ${PYTHON} -m coveralls