Skip to content

Commit

Permalink
update Travis CI configuration to include pep8/pyflakes testing
Browse files Browse the repository at this point in the history
  • Loading branch information
hvelarde committed Oct 15, 2012
1 parent dd76386 commit b94bde3
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 7 deletions.
9 changes: 2 additions & 7 deletions .travis.yml
@@ -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
18 changes: 18 additions & 0 deletions Makefile
@@ -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/

0 comments on commit b94bde3

Please sign in to comment.