Skip to content

Commit c21ff39

Browse files
Merge pull request #150 from tomasbedrich/travis-windows
Add Windows runner configuration
2 parents d9bc781 + 26b3857 commit c21ff39

File tree

2 files changed

+16
-4
lines changed

2 files changed

+16
-4
lines changed

.coveralls.yml

Lines changed: 0 additions & 2 deletions
This file was deleted.

.travis.yml

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,29 @@ language: python
22

33
matrix:
44
include:
5+
# Linux runners.
56
- python: 3.5
67
- python: 3.6
78
- python: 3.7
89
dist: xenial
9-
10+
# Windows runners.
11+
- name: "Python 3.7 on Windows"
12+
os: windows
13+
language: shell # `language: python` is not supported for now.
14+
before_install:
15+
- choco install python --version 3.7.7
16+
- python --version # Display the used version.
17+
- python -m pip install --upgrade pip
18+
install:
19+
- python setup.py build install
20+
- pip install --upgrade coveralls
21+
script:
22+
- python setup.py lint test
23+
env: PATH=/c/Python37:/c/Python37/Scripts:$PATH
1024

1125
install:
1226
- python3 setup.py build install
13-
- pip install python-coveralls
27+
- pip install --upgrade coveralls
1428

1529
script:
1630
python3 setup.py lint test

0 commit comments

Comments
 (0)