-
Notifications
You must be signed in to change notification settings - Fork 41
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update required python version and update test/CI config (#72)
* Drop support for 3.0 <= python < 3.4. Pytest also does not support them. Add support for 3.6 and 3.7. * Travis&tox: test all supported pytest versions * Actually test on pytest 3.10.x * Remove coverage badge Coveralls integration was disabled in 2016
- Loading branch information
Showing
4 changed files
with
45 additions
and
25 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,22 +1,37 @@ | ||
sudo: false | ||
language: python | ||
# enable Python 3.5 on travis until it will be pre-installed | ||
python: 3.5 | ||
env: | ||
matrix: | ||
- TESTENV=py27-pytest2 | ||
- TESTENV=py34-pytest2 | ||
- TESTENV=py35-pytest2 | ||
- TESTENV=py27-pytest3 | ||
- TESTENV=py34-pytest3 | ||
- TESTENV=py35-pytest3 | ||
python: "2.7" | ||
|
||
matrix: | ||
include: | ||
- env: TOXENV=py27-pytest33 | ||
- env: TOXENV=py27-pytest34 | ||
- env: TOXENV=py27-pytest35 | ||
- env: TOXENV=py27-pytest36 | ||
- env: TOXENV=py27-pytest37 | ||
- env: TOXENV=py27-pytest38 | ||
- env: TOXENV=py27-pytest39 | ||
- env: TOXENV=py27-pytest310 | ||
- env: TOXENV=py27-pytestlatest | ||
- env: TOXENV=py34-pytestlatest | ||
python: "3.4" | ||
- env: TOXENV=py35-pytestlatest | ||
python: "3.5" | ||
- env: TOXENV=py36-pytestlatest | ||
python: "3.6" | ||
- env: TOXENV=py37-pytestlatest | ||
python: "3.7" | ||
# Currently, python 3.7 is a little bit tricky to install: | ||
# https://github.com/travis-ci/travis-ci/issues/9069#issuecomment-425720905 | ||
sudo: required | ||
dist: xenial | ||
install: | ||
- pip install tox | ||
script: tox -e $TESTENV | ||
script: tox | ||
branches: | ||
except: | ||
- /^\d/ | ||
except: | ||
- /^\d/ | ||
notifications: | ||
email: | ||
- bubenkoff@gmail.com | ||
- oleg.pidsadnyi@gmail.com | ||
email: | ||
- bubenkoff@gmail.com | ||
- oleg.pidsadnyi@gmail.com |
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