-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
35 lines (33 loc) · 989 Bytes
/
.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
python:
# 3.4 doesn't have enum.Enum.auto(). Re-enable it if we decide to use aenum instead.
# - 3.4
- 3.6
- 3.8
# Windows setup
matrix:
include:
- 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
- pip3 install --upgrade pytest
- pip3 install --upgrade pytest-cov
- pip3 install pywin32
env: PATH=/c/Python37:/c/Python37/Scripts:$PATH
script: python setup.py test
before_install:
- python --version
- pip install -U pip
- pip install -U pytest
- pip install -U pytest-cov
install:
- pip install -e .
script:
- python3 setup.py test
after_success:
# submit coverage
- bash <(curl -s https://codecov.io/bash)