Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
provide a virtualenv-enabled Travis buildout that can be debugged on …
…a dev box
- Loading branch information
Showing
4 changed files
with
28 additions
and
30 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 | Original file line | Diff line number | Diff line change |
---|---|---|---|
|
@@ -13,3 +13,4 @@ lib/ | ||
parts/ | parts/ | ||
var/ | var/ | ||
dist/ | dist/ | ||
buildout-cache |
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 | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -1,26 +1,22 @@ | |||
# convenience makefile to boostrap & run buildout | default: buildout test | ||
# use `make options=-v` to run buildout with extra options | |||
|
|
||
pep8_ignores = E501 | buildout: bin/buildout buildout-cache/downloads | ||
options = -N -q -t 3 | bin/buildout -c buildout.cfg -N -t 3 | ||
|
|
||
.PHONY: help prerequisites install test | test: | ||
bin/test | |||
bin/flake8 plonesocial | |||
|
|
||
help: | bin/buildout: bin/python | ||
@echo "Please use \`make <target>' where <target> is one of" | bin/easy_install zc.buildout==1.6.3 | ||
@echo " prerequisites Install requisites" | bin/easy_install distribute==0.6.28 | ||
@echo " install Install" | |||
@echo " tests Run all testes" | |||
|
|
||
prerequisites: | bin/python: | ||
sudo apt-get install -qq pep8 pyflakes | virtualenv --clear --no-site-packages --distribute . | ||
mkdir -p buildout-cache/downloads | |||
|
|
||
install: prerequisites | buildout-cache/downloads: | ||
python bootstrap.py -c travis.cfg | [ -d buildout-cache ] || mkdir -p buildout-cache/downloads | ||
bin/buildout -c travis.cfg $(options) |
|
||
clean: | |||
rm -rf bin/* .installed.cfg parts/download | |||
|
|
||
tests: | |||
bin/test | |||
pyflakes plonesocial/ | |||
pep8 --ignore=$(pep8_ignores) plonesocial/ |
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 | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -1,9 +1,19 @@ | |||
[buildout] | [buildout] | ||
extends = | extends = | ||
http://svn.plone.org/svn/collective/buildout/plonetest/test-4.x.cfg | https://raw.github.com/collective/buildout.plonetest/master/travis-4.x.cfg | ||
|
|
||
package-name = plonesocial.microblog | package-name = plonesocial.microblog | ||
package-extras = [test] | package-extras = [test] | ||
|
|
||
parts += | |||
flake8 | |||
|
|||
[versions] | [versions] | ||
zc.buildout = 1.6.3 | zc.buildout = 1.6.3 | ||
|
|||
[flake8] | |||
recipe = zc.recipe.egg | |||
eggs = flake8 | |||
${instance:eggs} | |||
entry-points = | |||
flake8=flake8.run:main |
This file was deleted.
Oops, something went wrong.