File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11language : python
2-
32python :
43 - 2.7.13
5-
64# Use a matrix of TEST_SUITE variables to distribute tests to several machines
75# Use a global PYTEST variable to run all of the tests in a uniform fashion
86env :
97 global :
108 - PYTEST="bin/py.test -n 2 -vvs"
11-
129 matrix :
1310 - TEST_SUITE="$PYTEST"
1411 - TEST_SUITE="./etc/release/release.sh"
15-
16-
1712# Travis does not offer OSX with arbitrary python versions (like 2.7.13 above)
1813# So, you can not simply have the following section in your build matrix:
1914# os:
2015# - linux
2116# - osx
2217# Instead, you have to include OSX entries into the build matrix manually.
2318# In particular, this means specifying the environment variables again.
24-
2519# The following was adapted from here:
2620# https://docs.travis-ci.com/user/multi-os/
2721# Set TEST_SUITE in `env:` so that the `script:` section below works
3125# https://docs.travis-ci.com/user/osx-ci-environment/
3226matrix :
3327 include :
28+ - os : windows
29+ language : shell
30+ before_install :
31+ - choco install python2 -x86
32+ - ln -s /c/Python27/python.exe /c/Python27/python2.7.exe
33+ env :
34+ - PATH="/c/Python27:/c/Python27/Scripts:$PATH"
35+ - TEST_SUITE="$PYTEST"
36+ - os : windows
37+ language : shell
38+ before_install :
39+ - choco install python2 -x86
40+ - ln -s /c/Python27/python.exe /c/Python27/python2.7.exe
41+ env :
42+ - PATH="/c/Python27:/c/Python27/Scripts:$PATH"
43+ - TEST_SUITE="./etc/release/release.sh"
3444 - os : osx
3545 env : TEST_SUITE="$PYTEST"
3646 language : generic
@@ -41,13 +51,10 @@ matrix:
4151 language : generic
4252 python :
4353 osx_image : xcode7.3
44-
4554install :
4655 - ./configure
47-
4856script :
4957 - $TEST_SUITE
50-
5158notifications :
5259 irc :
5360 channels :
You can’t perform that action at this time.
0 commit comments