-
Notifications
You must be signed in to change notification settings - Fork 260
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #108 from zostera/explicit-travis
Use explicit test matrix in travis conf, adopt django-tables2 testenv naming
- Loading branch information
Showing
2 changed files
with
52 additions
and
38 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,15 +1,34 @@ | ||
language: python | ||
sudo: false | ||
cache: pip | ||
python: | ||
- "3.6" | ||
- "3.5" | ||
- "3.4" | ||
- "2.7" | ||
install: pip install tox-travis | ||
script: tox | ||
cache: | ||
pip: true | ||
addons: | ||
postgresql: 9.6 | ||
apt: | ||
packages: | ||
- postgresql-9.6-postgis-2.3 | ||
|
||
install: pip install tox tox-travis | ||
script: tox | ||
|
||
matrix: | ||
include: | ||
- { python: 2.7, env: TOXENV=py27-1.11 } | ||
- { python: 3.4, env: TOXENV=py34-1.11 } | ||
- { python: 3.4, env: TOXENV=py34-2.0 } | ||
- { python: 3.5, env: TOXENV=py35-1.11 } | ||
- { python: 3.5, env: TOXENV=py35-2.0 } | ||
- { python: 3.5, env: TOXENV=py35-2.1 } | ||
- { python: 3.5, env: TOXENV=py35-master } | ||
- { python: 3.6, env: TOXENV=py36-2.0 } | ||
- { python: 3.6, env: TOXENV=py36-2.1 } | ||
- { python: 3.6, env: TOXENV=py36-master } | ||
- { python: 3.7-dev, env: TOXENV=py37-2.1 } | ||
- { python: 3.7-dev, env: TOXENV=py37-master } | ||
- { python: 3.6, env: TOXENV=docs } | ||
- { python: 3.6, env: TOXENV=flake8 } | ||
|
||
# we allow failures for versions which are not yet released: | ||
allow_failures: | ||
- env: TOXENV=py35-master | ||
- env: TOXENV=py36-master | ||
- env: TOXENV=py37-master |
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