Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
update Travis CI configuration to include pep8/pyflakes testing
- Loading branch information
Showing
2 changed files
with
20 additions
and
7 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,11 +1,6 @@ | ||
language: python | ||
python: 2.7 | ||
before_install: | ||
- mkdir -p buildout-cache/eggs | ||
- mkdir -p buildout-cache/downloads | ||
install: | ||
- python bootstrap.py -c travis.cfg | ||
- bin/buildout -c travis.cfg -N -q -t 3 | ||
script: bin/test | ||
install: make install | ||
script: make tests | ||
notifications: | ||
email: guido.stevens@cosent.net |
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 |
---|---|---|
@@ -0,0 +1,18 @@ | ||
# convenience makefile to boostrap & run buildout | ||
# use `make options=-v` to run buildout with extra options | ||
|
||
pep8_ignores = E501 | ||
options = -N -q -t 3 | ||
|
||
prerequisites: | ||
sudo apt-get install -qq pep8 pyflakes | ||
mkdir -p buildout-cache/downloads | ||
|
||
install: prerequisites | ||
python bootstrap.py -c travis.cfg | ||
bin/buildout -c travis.cfg $(options) | ||
|
||
tests: | ||
bin/test | ||
pyflakes plonesocial/ | ||
pep8 --ignore=$(pep8_ignores) plonesocial/ |