Skip to content

Commit

Permalink
Merge pull request #46 from seantis/coveralls
Browse files Browse the repository at this point in the history
Change buildout for coveralls
  • Loading branch information
msom committed Oct 8, 2015
2 parents 5297c79 + f8ffaaf commit 06d6ea1
Show file tree
Hide file tree
Showing 4 changed files with 28 additions and 36 deletions.
1 change: 0 additions & 1 deletion .coveragerc
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,3 @@ omit =
*/test-views/*
*/distutils/__init__.py
*/upgrades.py
src/*
38 changes: 26 additions & 12 deletions buildout/buildout.cfg
Original file line number Diff line number Diff line change
@@ -1,34 +1,48 @@
[buildout]
extensions =
buildout.bootstrap
mr.developer
buildout.dumppickedversions

develop =
.
./src/*
auto-checkout = *

extends =
http://dist.plone.org/release/4.3-latest/versions.cfg
https://raw.githubusercontent.com/OneGov/onegov.municipality/master/release/latest.cfg
versions.cfg

extends-cache = .
find-links =
http://dist.plone.org/thirdparty/

parts =
instance
i18ndude
test

versions = versions

[instance]
recipe = plone.recipe.zope2instance
[plone]
eggs =
Pillow
Plone
plone.app.dexterity
seantis.people

environment-vars =
zope_i18n_compile_mo_files true
zc.recipe.egg

[i18ndude]
unzip = true
recipe = zc.recipe.egg
eggs = i18ndude

[testenv]
APP_PATH = ${buildout:directory}

[test]
recipe = zc.recipe.testrunner
eggs =
${plone:eggs}
seantis.people [tests]
defaults = ['--auto-color', '--auto-progress']
environment = test-environment
eggs = seantis.people[tests]

[test-environment]
PLONE_CSRF_DISABLED = true
environment = testenv
5 changes: 1 addition & 4 deletions buildout/develop.cfg
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[buildout]
extends =
extends =
buildout.cfg
extensions +=
mr.developer
Expand All @@ -19,6 +19,3 @@ recipe = collective.recipe.omelette
eggs =
${instance:eggs}
${test:eggs}

[sources]
seantis.plonetools = git https://github.com/seantis/seantis.plonetools.git
20 changes: 1 addition & 19 deletions buildout/travis.cfg
Original file line number Diff line number Diff line change
@@ -1,22 +1,12 @@
[buildout]
extends =
buildout.cfg
http://plonesource.org/sources.cfg

extensions +=
mr.developer

auto-checkout = seantis.plonetools
extends = buildout.cfg

parts =
download
install
test
coverage

develop =
.

eggs-directory = buildout-cache/eggs
download-cache = buildout-cache/downloads

Expand All @@ -26,18 +16,10 @@ allow-hosts =
*.plone.org
*.python.org
*.zope.org
*.github.com
buildout.org
bitbucket.org
docutils.sourceforge.net
effbot.org
prdownloads.sourceforge.net

[plone]
eggs =
Pillow
seantis.people

[download]
recipe = hexagonit.recipe.download
url = https://launchpad.net/plone/4.3/4.3.3/+download/Plone-4.3.3-UnifiedInstaller.tgz
Expand Down

0 comments on commit 06d6ea1

Please sign in to comment.