Skip to content

Commit

Permalink
Merge 0036640 into 2828463
Browse files Browse the repository at this point in the history
  • Loading branch information
davidism committed Apr 21, 2020
2 parents 2828463 + 0036640 commit 9835ad9
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 33 deletions.
24 changes: 6 additions & 18 deletions .travis.yml
@@ -1,31 +1,20 @@
---
os: linux
sudo: false
language: python

python:
- 3.8
- 3.7
- 3.6
- 3.5
- 3.4
- 3.3
- 2.6
- nightly
- '3.8'
- '3.7'
- '3.6'
- '3.5'
- pypy3

env:
- TOXENV=py

matrix:
allow_failures:
- python: 2.6
- python: 3.3
- python: nightly
- python: pypy3
fast_finish: true
include:
- python: "2.7"
- python: '2.7'
env: TOXENV=py27

install:
Expand All @@ -36,7 +25,6 @@ script:

after_success:
- pip install coveralls
- coverage combine
- coverage report
- coveralls

Expand All @@ -46,7 +34,7 @@ cache:
branches:
only:
- master
- /^.*-maintenance$/
- /^.*\.x$/

notifications:
email: false
1 change: 1 addition & 0 deletions CHANGES.rst
Expand Up @@ -5,6 +5,7 @@ Version 2.3.0

Unreleased

- Drop support for Python 2.6, 3.3, and 3.4.
- :class:`~fields.SelectField` uses ``list()`` to construct a new list
of choices. :pr:`475`
- Permitted underscores in ``HostnameValidation``. :pr:`463`
Expand Down
7 changes: 3 additions & 4 deletions setup.cfg
Expand Up @@ -21,10 +21,10 @@ domain = wtforms
statistics = 1

[bdist_wheel]
universal = 1
universal = true

[coverage:run]
branch = True
branch = true
source =
wtforms
omit =
Expand All @@ -33,8 +33,7 @@ omit =
[coverage:paths]
source =
wtforms
.tox/*/lib/python*/site-packages/wtforms
.tox/pypy*/site-packages/wtforms
*/site-packages

[coverage:report]
exclude_lines =
Expand Down
14 changes: 3 additions & 11 deletions tox.ini
@@ -1,8 +1,8 @@
[tox]
envlist =
py{38,37,36,35,34,27,py3,py}
py{38,37,36,35,27,py3}
docs
coverage-report
skip_missing_interpreters = true

[testenv]
passenv = LANG
Expand All @@ -20,16 +20,8 @@ deps =
pypy: ipaddress
commands =
python setup.py compile_catalog
coverage run -p tests/runtests.py --with-pep8
coverage run tests/runtests.py --with-pep8

[testenv:docs]
deps = -r docs/requirements.txt
commands = sphinx-build -W -b html -d {envtmpdir}/doctrees docs {envtmpdir}/html

[testenv:coverage-report]
deps = coverage
skip_install = true
commands =
coverage combine
coverage report
coverage html

0 comments on commit 9835ad9

Please sign in to comment.