forked from alexsilva/supervisor
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
35 lines (31 loc) · 1.34 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
language: python
matrix:
include:
- name: "Python 2.7 on Windows"
os: windows # Windows 10.0.17134 N/A Build 17134
language: shell # 'language: python' is an error on Travis CI Windows
# python: 2.7.18 # 'python:' is ignored on Travis CI Windows
before_install:
# https://travis-ci.community/t/windows-python-pip-module-not-found/5480/4
- choco install python2
- python -m pip install --upgrade pip
- python -m pip install pywin32
env:
- PATH=/c/Python27:/c/Python27/Scripts:$PATH
- TOXENV=py27
- name: "Python 3.7.5 on Windows"
os: windows # Windows 10.0.17134 N/A Build 17134
language: shell # 'language: python' is an error on Travis CI Windows
# python: 3.7 # 'python:' is ignored on Travis CI Windows
before_install:
# https://travis-ci.community/t/windows-python-pip-module-not-found/5480/4
- choco install python --version 3.7.5
- python -m pip install --upgrade pip
- python -m pip install pywin32
env:
- PATH=/c/Python37:/c/Python37/Scripts:$PATH
- TOXENV=py37
install:
- travis_retry pip install virtualenv tox
script:
- travis_retry tox