39ca471685
Major Updates ------------- The project was renamed to pydocstyle and the new release will be 1.0.0! New Features ------------ - Added support for Python 3.5. - Classes nested inside classes are no longer considered private. Nested classes are considered public if their names are not prepended with an underscore and if their parent class is public, recursively. - Added the D403 error code - "First word of the first line should be properly capitalized". This new error is turned on by default. - Added support for .pydocstylerc and as configuration file name. Bug Fixes --------- - Fixed an issue where a NameError was raised when parsing complex definitions of __all__. - Fixed a bug where D202 was falsely reported when a function with just a docstring and no content was followed by a comment. - Fixed wrong __all__ definition in main module. - Fixed a bug where an AssertionError could occur when parsing __future__ imports.
71 lines
1.4 KiB
YAML
71 lines
1.4 KiB
YAML
# So we get Ubuntu Trusty - using "dist: trusty" breaks OS X.
|
|
sudo: required
|
|
dist: trusty
|
|
|
|
os:
|
|
- linux
|
|
- osx
|
|
|
|
|
|
env:
|
|
global:
|
|
- PATH=/home/travis/bin:/home/travis/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
|
|
matrix:
|
|
- TESTENV=py35
|
|
- TESTENV=py34-cov
|
|
- TESTENV=unittests-nodisp
|
|
- TESTENV=misc
|
|
- TESTENV=vulture
|
|
- TESTENV=pydocstyle
|
|
- TESTENV=flake8
|
|
- TESTENV=pyroma
|
|
- TESTENV=check-manifest
|
|
- TESTENV=pylint
|
|
- TESTENV=eslint
|
|
|
|
# Not really, but this is here so we can do stuff by hand.
|
|
language: c
|
|
|
|
cache:
|
|
directories:
|
|
- $HOME/.cache/pip
|
|
- $HOME/build/The-Compiler/qutebrowser/.cache
|
|
|
|
install:
|
|
- python scripts/dev/ci_install.py
|
|
|
|
script:
|
|
- tox -e $TESTENV -- -v --cov-report term tests
|
|
|
|
after_success:
|
|
- '[[ $TESTENV == *-cov ]] && codecov -e TESTENV -X gcov'
|
|
|
|
matrix:
|
|
exclude:
|
|
- os: linux
|
|
env: TESTENV=py35
|
|
- os: osx
|
|
env: TESTENV=py34-cov
|
|
- os: osx
|
|
env: TESTENV=unittests-nodisp
|
|
- os: osx
|
|
env: TESTENV=misc
|
|
- os: osx
|
|
env: TESTENV=vulture
|
|
- os: osx
|
|
env: TESTENV=pydocstyle
|
|
- os: osx
|
|
env: TESTENV=flake8
|
|
- os: osx
|
|
env: TESTENV=pyroma
|
|
- os: osx
|
|
env: TESTENV=check-manifest
|
|
- os: osx
|
|
env: TESTENV=pylint
|
|
- os: osx
|
|
env: TESTENV=eslint
|
|
|
|
notifications:
|
|
webhooks:
|
|
- https://buildtimetrend.herokuapp.com/travis
|