Skip to content

Commit

Permalink
Enable pylint during testing
Browse files Browse the repository at this point in the history
  • Loading branch information
atodorov committed Dec 24, 2016
1 parent b69fa66 commit 8b8645a
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ env:
- _JINJA_AB=0.3.0 _PELICAN=3.6.3
- !!python/unicode '_JINJA_AB=0.3.0 _PELICAN=3.7.0'
install:
- pip install https://github.com/PyCQA/pylint/zipball/master https://github.com/PyCQA/astroid/zipball/master
- pip install coverage flake8 Markdown pelican==$_PELICAN jinja-ab==$_JINJA_AB
language: python
python:
Expand Down
4 changes: 4 additions & 0 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,10 @@ This will break your website because everything will be gone!
CHANGELOG
=========

* master
- add more tests
- enable pylint during testing
- fix bad ``super()`` call
* v0.2.3 (Dec 13th 2016)
- rebuilt for Pelican v3.7.0 which now expects
Jinja2 extensions in the ``JINJA_ENVIRONMENT`` setting instead of
Expand Down
1 change: 1 addition & 0 deletions test.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#!/bin/bash

flake8 pelican_ab/ tests/ && \
pylint -rn pelican_ab tests/*.py && \
coverage run --source pelican_ab/ --branch -m unittest discover tests -v && \
coverage report -m

0 comments on commit 8b8645a

Please sign in to comment.