2017-08-04 00:31:39 +00:00
|
|
|
language: python
|
2019-04-30 16:22:28 +00:00
|
|
|
matrix:
|
|
|
|
include:
|
|
|
|
- os: windows
|
|
|
|
language: sh
|
|
|
|
python: 3
|
|
|
|
# Perform the manual steps on windows to install python3
|
|
|
|
before_install:
|
|
|
|
- choco install python3 --params "/InstallDir:C:\Python"
|
|
|
|
- export PATH="/c/Python:/c/Python/Scripts:$PATH"
|
|
|
|
- python -m pip install --upgrade pip
|
2020-06-12 03:42:00 +00:00
|
|
|
- python -m pip install pywin32
|
2019-04-30 16:22:28 +00:00
|
|
|
before_script:
|
|
|
|
- export TOXENV=py3-win
|
|
|
|
|
|
|
|
- python: "2.7"
|
|
|
|
- python: "3.4"
|
|
|
|
- python: "3.5"
|
|
|
|
- python: "3.6"
|
|
|
|
# Obtain Python 3.7 from xenial as per https://github.com/travis-ci/travis-ci/issues/9815
|
|
|
|
- python: "3.7"
|
|
|
|
dist: xenial
|
2017-08-04 00:31:39 +00:00
|
|
|
install:
|
2019-04-30 16:22:28 +00:00
|
|
|
- pip install tox
|
|
|
|
before_script:
|
|
|
|
- export TOXENV=$(echo py$TRAVIS_PYTHON_VERSION | tr -d .)
|
2017-08-04 00:31:39 +00:00
|
|
|
script:
|
2019-04-30 16:22:28 +00:00
|
|
|
- tox
|