8000 cherry-picker: Run Travis CI test on Windows · encukou/core-workflow@5eb4d83 · GitHub
[go: up one dir, main page]

Skip to content

Commit 5eb4d83

Browse files
committed
cherry-picker: Run Travis CI test on Windows
Fixes: python#296
1 parent b3c68fe commit 5eb4d83

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

.travis.yml

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@ sudo: false
77
cache: pip
88

99
before_install:
10-
- pip install --upgrade flit
10+
- &install-flit
11+
pip install --upgrade flit
1112

1213
.mixtures:
1314
- &run-if-tagged
@@ -99,6 +100,16 @@ jobs:
99100
env:
100101
TARGET_PKG: cherry_picker
101102

103+
- os: windows
104+
language: sh
105+
python: 3.7
106+
before_install:
107+
- choco install python --version 3.7
108+
- export PATH="/c/Python37:/c/Python37/Scripts:$PATH"
109+
- python -m pip install --upgrade pip wheel
110+
- *install-flit
111+
<<: *install-and-test-cherry-picker
112+
102113
- <<: *deploy-base
103114
<<: *run-if-blurb
104115
if: 1 != 1

0 commit comments

Comments
 (0)
0