Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

update Travis CI configuration to include pep8/pyflakes testing

  • Loading branch information...
commit b94bde33d60d5930e2a7057c83432ca27d4ceb32 1 parent dd76386
@hvelarde hvelarde authored
Showing with 20 additions and 7 deletions.
  1. +2 −7 .travis.yml
  2. +18 −0 Makefile
View
9 .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
View
18 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/
Please sign in to comment.
Something went wrong with that request. Please try again.