Commit 21c2dd7c authored by Brett Cannon's avatar Brett Cannon Committed by GitHub

Turn on macOS builds for Travis (GH-1846)

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.
parent 3c2817b6
...@@ -14,22 +14,25 @@ branches: ...@@ -14,22 +14,25 @@ branches:
matrix: matrix:
fast_finish: true fast_finish: true
allow_failures: allow_failures:
- env: - env: OPTIONAL=true
- TESTING=coverage
include: include:
- os: linux - os: linux
language: c language: c
compiler: clang compiler: clang
# gcc also works, but to keep the # of concurrent builds down, we use one C # gcc also works, but to keep the # of concurrent builds down, we use one C
# compiler here and the other to run the coverage build. # compiler here and the other to run the coverage build. Clang is preferred
env: # in this instance for its better error messages.
- TESTING=cpython env: TESTING=cpython
- os: osx
language: c
compiler: clang
# Testing under macOS is optional until testing stability has been demonstrated.
env: OPTIONAL=true
- os: linux - os: linux
language: python language: python
# Build the docs against a stable version of Python so code bugs don't hold up doc-related PRs. # Build the docs against a stable version of Python so code bugs don't hold up doc-related PRs.
python: 3.6 python: 3.6
env: env: TESTING=docs
- TESTING=docs
before_script: before_script:
- cd Doc - cd Doc
# Sphinx is pinned so that new versions that introduce new warnings won't suddenly cause build failures. # Sphinx is pinned so that new versions that introduce new warnings won't suddenly cause build failures.
...@@ -40,8 +43,7 @@ matrix: ...@@ -40,8 +43,7 @@ matrix:
- os: linux - os: linux
language: c language: c
compiler: gcc compiler: gcc
env: env: OPTIONAL=true
- TESTING=coverage
before_script: before_script:
- | - |
if ! git diff --name-only $TRAVIS_COMMIT_RANGE | grep -qvE '(\.(rst|yml)$)|(^Doc)|(^Misc)/' if ! git diff --name-only $TRAVIS_COMMIT_RANGE | grep -qvE '(\.(rst|yml)$)|(^Doc)|(^Misc)/'
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment