Skip to content

Commit 6a1b89d

Browse files
authored
[2.7] Turn on macOS builds for Travis (GH-1846) (GH-1931)
Initially the macOS builds are allowed to fail until such time that they can be determined to be stable and not add an unacceptable amount of time to the overall Travis-passing process. (cherry picked from commit 21c2dd7)
1 parent 3ef3bcb commit 6a1b89d

File tree

1 file changed

+12
-5
lines changed

1 file changed

+12
-5
lines changed

.travis.yml

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,19 +12,26 @@ branches:
1212
- /^\d\.\d$/
1313

1414
matrix:
15+
fast_finish: true
16+
allow_failures:
17+
- env: OPTIONAL=true
1518
include:
1619
- os: linux
1720
language: c
1821
compiler: clang
1922
# gcc also works, but to keep the # of concurrent builds down, we use one C
20-
# compiler here and the other to run the coverage build.
21-
env:
22-
- TESTING=cpython
23+
# compiler here and the other to run the coverage build. Clang is preferred
24+
# in this instance for its better error messages.
25+
env: TESTING=cpython
26+
- os: osx
27+
language: c
28+
compiler: clang
29+
# Testing under macOS is optional until testing stability has been demonstrated.
30+
env: OPTIONAL=true
2331
- os: linux
2432
language: python
2533
python: 2.7
26-
env:
27-
- TESTING=docs
34+
env: TESTING=docs
2835
before_script:
2936
- cd Doc
3037
# Sphinx is pinned so that new versions that introduce new warnings won't suddenly cause build failures.

0 commit comments

Comments
 (0)