-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Restore MINIMAL=1 test builds on Travis, disabled by accident due to YAML having the same key (matrix) defined twice at top level.
- Loading branch information
Showing
4 changed files
with
52 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,41 +1,37 @@ | ||
language: python | ||
sudo: false | ||
matrix: | ||
include: | ||
- python: 2.7 | ||
env: MINIMAL=1 | ||
|
||
python: | ||
- 2.7 | ||
- 3.4 | ||
- 3.5 | ||
- 3.6 | ||
- 3.7 | ||
- 3.8 | ||
- pypy | ||
- pypy3 | ||
|
||
matrix: | ||
jobs: | ||
include: | ||
- python: "3.7" | ||
dist: xenial | ||
sudo: true | ||
- name: "Python: 2.7, minimal set of dependencies" | ||
python: 2.7 | ||
env: MINIMAL=1 | ||
|
||
install: | ||
- pip install -U pip setuptools | ||
- pip install -U coveralls coverage | ||
- if [[ -n "$MINIMAL" ]]; then pip install -U -e ".[mintests]"; fi | ||
- if [[ -z "$MINIMAL" ]]; then pip install -U -e ".[test,docs]"; fi | ||
|
||
script: | ||
- coverage run -m zope.testrunner --test-path=src | ||
- if [[ -z "$MINIMAL" ]]; then sphinx-build -b html -d docs/_build/doctrees docs docs/_build/html; fi | ||
- if [[ -z "$MINIMAL" ]]; then coverage run -a `which sphinx-build` -b doctest -d docs/_build/doctrees docs docs/_build/doctest; fi | ||
- if [[ -z "$MINIMAL" ]]; then sphinx-build -b html -d docs/_build/doctrees docs docs/_build/html; fi | ||
- if [[ -z "$MINIMAL" ]]; then coverage run -a -m sphinx -b doctest -d docs/_build/doctrees docs docs/_build/doctest; fi | ||
|
||
after_success: | ||
- coveralls | ||
|
||
notifications: | ||
email: false | ||
|
||
install: | ||
- pip install -U pip setuptools | ||
- pip install -U coveralls coverage | ||
- if [[ -n "$MINIMAL" ]]; then pip install -U -e ".[mintests]"; fi | ||
- if [[ -z "$MINIMAL" ]]; then pip install -U -e ".[test,docs]"; fi | ||
|
||
|
||
cache: pip | ||
|
||
before_cache: | ||
- rm -f $HOME/.cache/pip/log/debug.log |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters