-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make the Travis CI matrix explicit, add newer Python and Django versions
- Loading branch information
Showing
3 changed files
with
45 additions
and
18 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,25 +1,50 @@ | ||
language: python | ||
dist: xenial | ||
sudo: false | ||
language: python | ||
cache: pip | ||
python: | ||
- "3.6" | ||
- "3.5" | ||
env: | ||
- REQ='Django>=2.1,<2.2' | ||
- REQ='Django>=2.0,<2.1' | ||
- 3.7 | ||
services: | ||
- postgresql | ||
# Matrix composition: | ||
# Django LTS versions: All supported Python releases | ||
# Other versions and master branch: The newest possible Python release | ||
matrix: | ||
install: | ||
- pip install -U pip setuptools wheel | ||
- pip install $REQ | ||
- python setup.py install | ||
script: cd tests && ./manage.py test -v 2 testapp && cd .. | ||
|
||
jobs: | ||
fast_finish: true | ||
include: | ||
- stage: style | ||
env: REQ=none | ||
install: skip | ||
script: | ||
- python: 3.7 | ||
env: REQ="https://github.com/django/django/archive/master.zip#egg=Django" | ||
- python: 3.7 | ||
env: REQ="Django>=3.0,<3.1" | ||
- python: 3.6 | ||
env: REQ="Django>=3.0,<3.1" | ||
- python: 3.7 | ||
env: REQ="Django>=2.2,<3.0" | ||
- python: 3.6 | ||
env: REQ="Django>=2.2,<3.0" | ||
- python: 3.5 | ||
env: REQ="Django>=2.2,<3.0" | ||
- python: 3.7 | ||
env: REQ="Django>=2.1,<2.2" | ||
- python: 3.7 | ||
env: REQ="Django>=2.0,<2.1" | ||
- python: 3.7 | ||
env: REQ="Django>=1.11,<2.0" | ||
- python: 3.6 | ||
env: REQ="Django>=1.11,<2.0" | ||
- python: 3.5 | ||
env: REQ="Django>=1.11,<2.0" | ||
- python: 3.7 | ||
env: REQ="black flake8" | ||
install: | ||
- pip install black flake8 | ||
script: | ||
- flake8 . | ||
- black --check spark tests | ||
allow_failures: | ||
- env: REQ="https://github.com/django/django/archive/master.zip#egg=Django" | ||
install: | ||
- pip install -U pip setuptools wheel | ||
- pip install $REQ | ||
- python setup.py install | ||
script: cd tests && ./manage.py test -v 2 testapp && cd .. |
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