Name individual Travis CI jobs (GH-13268)

This commit is contained in:
Gordon P. Hemsley 2019-05-13 00:18:20 -04:00 committed by Inada Naoki
parent 4ef9b8e505
commit af070c1297
1 changed files with 12 additions and 6 deletions

View File

@ -32,7 +32,8 @@ matrix:
allow_failures: allow_failures:
- env: OPTIONAL=true - env: OPTIONAL=true
include: include:
- os: linux - name: "CPython tests"
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
@ -43,7 +44,8 @@ matrix:
apt: apt:
packages: packages:
- xvfb - xvfb
- os: linux - name: "Documentation build"
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
@ -56,7 +58,8 @@ matrix:
- python -m pip install sphinx==1.8.2 blurb python-docs-theme - python -m pip install sphinx==1.8.2 blurb python-docs-theme
script: script:
- make check suspicious html SPHINXOPTS="-q -W -j4" - make check suspicious html SPHINXOPTS="-q -W -j4"
- os: linux - name: "Documentation tests"
os: linux
language: c language: c
compiler: clang compiler: clang
env: TESTING=doctest env: TESTING=doctest
@ -70,7 +73,8 @@ matrix:
- make -C Doc/ PYTHON=../python venv - make -C Doc/ PYTHON=../python venv
script: script:
xvfb-run make -C Doc/ PYTHON=../python SPHINXOPTS="-q -W -j4" doctest xvfb-run make -C Doc/ PYTHON=../python SPHINXOPTS="-q -W -j4" doctest
- os: osx - name: "Mac OS X tests"
os: osx
language: c language: c
compiler: clang compiler: clang
# Testing under macOS is optional until testing stability has been demonstrated. # Testing under macOS is optional until testing stability has been demonstrated.
@ -79,7 +83,8 @@ matrix:
# Python 3 is needed for Argument Clinic and multissl # Python 3 is needed for Argument Clinic and multissl
- HOMEBREW_NO_AUTO_UPDATE=1 brew install xz python3 - HOMEBREW_NO_AUTO_UPDATE=1 brew install xz python3
- export PATH=$(brew --prefix)/bin:$(brew --prefix)/sbin:$PATH - export PATH=$(brew --prefix)/bin:$(brew --prefix)/sbin:$PATH
- os: linux - name: "Test code coverage (Python)"
os: linux
language: c language: c
compiler: gcc compiler: gcc
env: OPTIONAL=true env: OPTIONAL=true
@ -101,7 +106,8 @@ matrix:
# Make the `coverage` command available to Codecov w/ a version of Python that can parse all source files. # Make the `coverage` command available to Codecov w/ a version of Python that can parse all source files.
- source ./venv/bin/activate - source ./venv/bin/activate
- bash <(curl -s https://codecov.io/bash) - bash <(curl -s https://codecov.io/bash)
- os: linux - name: "Test code coverage (C)"
os: linux
language: c language: c
compiler: gcc compiler: gcc
env: OPTIONAL=true env: OPTIONAL=true