-
Notifications
You must be signed in to change notification settings - Fork 15
/
.travis.yml
50 lines (50 loc) · 1.99 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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
language: python
matrix:
include:
- name: "Python 3.6.5 on macOS 10.13"
os: osx
osx_image: xcode9.4 # Python 3.6.5 running on macOS 10.13
language: shell # 'language: python' is an error on Travis CI macOS
before_install:
- python3 --version
- pip3 install -U pip setuptools wheel
- pip3 install pytest appscript
- python3 setup.py install
script: python3 -m pytest
- name: "Python 3.7.3 on macOS 10.14"
os: osx
osx_image: xcode10.2 # Python 3.7.3 running on macOS 10.14.3
language: shell # 'language: python' is an error on Travis CI macOS
before_install:
- python3 --version
- pip3 install -U pip setuptools wheel
- pip3 install pytest appscript
- python3 setup.py install
script: python3 -m pytest
# ====== WINDOWS =========
- name: "Python 3.6.8 on Windows"
os: windows # Windows 10.0.17134 N/A Build 17134
language: shell # 'language: python' is an error on Travis CI Windows
before_install:
- choco install python --version 3.6.8
- python --version
- python -m pip install --upgrade pip setuptools wheel
- pip install pytest
- pip uninstall -y pypiwin32 pywin32
- pip install pypiwin32 pywin32
- python setup.py install
script: python -m pytest
env: PATH=/c/Python36:/c/Python36/Scripts:$PATH
- name: "Python 3.7.4 on Windows"
os: windows # Windows 10.0.17134 N/A Build 17134
language: shell # 'language: python' is an error on Travis CI Windows
before_install:
- choco install python --version 3.7.4
- python --version
- python -m pip install --upgrade pip setuptools wheel
- pip install pytest
- pip uninstall -y pypiwin32 pywin32
- pip install pypiwin32 pywin32
- python setup.py install
script: python -m pytest
env: PATH=/c/Python37:/c/Python37/Scripts:$PATH