Skip to content
This repository
Browse code

update Travis CI configuration to include pep8/pyflakes testing

  • Loading branch information...
commit b94bde33d60d5930e2a7057c83432ca27d4ceb32 1 parent dd76386
Héctor Velarde authored October 15, 2012

Showing 2 changed files with 20 additions and 7 deletions. Show diff stats Hide diff stats

  1. 9  .travis.yml
  2. 18  Makefile
9  .travis.yml
... ...
@@ -1,11 +1,6 @@
1 1
 language: python
2 2
 python: 2.7
3  
-before_install:
4  
-  - mkdir -p buildout-cache/eggs
5  
-  - mkdir -p buildout-cache/downloads
6  
-install:
7  
-  - python bootstrap.py -c travis.cfg
8  
-  - bin/buildout -c travis.cfg -N -q -t 3
9  
-script: bin/test
  3
+install: make install
  4
+script: make tests
10 5
 notifications:
11 6
   email: guido.stevens@cosent.net
18  Makefile
... ...
@@ -0,0 +1,18 @@
  1
+# convenience makefile to boostrap & run buildout
  2
+# use `make options=-v` to run buildout with extra options
  3
+
  4
+pep8_ignores = E501
  5
+options = -N -q -t 3
  6
+
  7
+prerequisites:
  8
+	sudo apt-get install -qq pep8 pyflakes
  9
+	mkdir -p buildout-cache/downloads
  10
+
  11
+install: prerequisites
  12
+	python bootstrap.py -c travis.cfg
  13
+	bin/buildout -c travis.cfg $(options)
  14
+
  15
+tests:
  16
+	bin/test
  17
+	pyflakes plonesocial/
  18
+	pep8 --ignore=$(pep8_ignores) plonesocial/

0 notes on commit b94bde3

Please sign in to comment.
Something went wrong with that request. Please try again.