Skip to content

Commit 660b719

Browse files
committed
.travis.yml: add one each osx and windows build to job matrix
Signed-off-by: Stephen L Arnold <[email protected]>
1 parent 5b482af commit 660b719

File tree

1 file changed

+30
-1
lines changed

1 file changed

+30
-1
lines changed

.travis.yml

Lines changed: 30 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
dist: xenial
12
language: python
23

34
# Travis CI has no plans to support Jython and no longer supports Python 2.5.
@@ -10,10 +11,38 @@ python:
1011
- "3.9-dev"
1112
- "nightly"
1213

14+
matrix:
15+
fast_finish: true
16+
include:
17+
- os: osx
18+
# osx is goofy, ``python`` is always py2, images mutate fast
19+
language: shell
20+
before_install:
21+
- pip3 install --upgrade pip wheel
22+
install:
23+
- python3 setup.py install
24+
script:
25+
- pystache-test . ext/spec/specs
26+
- os: windows
27+
# windows is even goofier, install path is different for python/python3
28+
# but either way you get python3 and the cmd is always ``python`` o.O
29+
# (also versions mutuate like bacteria)
30+
language: shell
31+
before_install:
32+
- choco install python3 --params "/InstallDir:C:\\Python"
33+
- python -m pip install --upgrade pip wheel
34+
env: PATH="/c/Python:/c/Python/Scripts:$PATH"
35+
install:
36+
- python setup.py install
37+
script:
38+
- pystache-test . ext/spec/specs
39+
allow_failures:
40+
- python: "nightly"
1341

1442
# command to install dependencies
1543
install:
16-
- pip install tox-travis codecov
44+
- pip install --upgrade pip
45+
- pip install codecov
1746

1847
script:
1948
- python setup.py install

0 commit comments

Comments
 (0)