You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

32 lines
801 B

  1. language: python
  2. matrix:
  3. include:
  4. - os: windows
  5. language: sh
  6. python: 3
  7. # Perform the manual steps on windows to install python3
  8. before_install:
  9. - choco install python3 --params "/InstallDir:C:\Python"
  10. - export PATH="/c/Python:/c/Python/Scripts:$PATH"
  11. - python -m pip install --upgrade pip
  12. - python -m pip install pywin32
  13. before_script:
  14. - export TOXENV=py3-win
  15. - python: "2.7"
  16. - python: "3.4"
  17. - python: "3.5"
  18. - python: "3.6"
  19. - python: "3.7"
  20. - python: "3.8"
  21. - python: "3.9"
  22. - python: "nightly" # 3.10
  23. before_script:
  24. - export TOXENV=py310
  25. install:
  26. - python -m pip install tox
  27. before_script:
  28. - export TOXENV=$(echo py$TRAVIS_PYTHON_VERSION | tr -d .)
  29. script:
  30. - python -m tox