Fixed Travis integration, smarter cfg files

This commit is contained in:
Cédric Messiant 2013-01-08 12:50:39 +01:00
parent 5f3bdbd197
commit 21c43b5b0b
5 changed files with 58 additions and 31 deletions

26
base.cfg Normal file
View File

@ -0,0 +1,26 @@
[buildout]
plone-version = 4.2.3
package-name = collective.dms.basecontent
package-extras = [test]
extends =
http://dist.plone.org/release/4.2-latest/versions.cfg
checkouts.cfg
sources.cfg
versions.cfg
extensions =
mr.developer
parts +=
test
eggs +=
Pillow
[test]
recipe = zc.recipe.testrunner
eggs =
${buildout:eggs}
${buildout:package-name} ${buildout:package-extras}
defaults = ['-s', '${buildout:package-name}', '--auto-color', '--auto-progress']

View File

@ -1,21 +1,12 @@
[buildout]
extends =
https://raw.github.com/collective/buildout.plonetest/master/test-4.2.x.cfg
versions.cfg
base.cfg
package-name = collective.dms.basecontent
package-extras = [test]
extensions +=
buildout.dumppickedversions
parts +=
omelette
test
[test]
recipe = zc.recipe.testrunner
eggs =
${buildout:eggs}
${buildout:package-name} ${buildout:package-extras}
defaults = ['-s', '${buildout:package-name}']
[omelette]
recipe = collective.recipe.omelette

9
checkouts.cfg Normal file
View File

@ -0,0 +1,9 @@
[buildout]
extends =
https://raw.github.com/plone/buildout.coredev/4.2/sources.cfg
https://raw.github.com/plone/buildout.dexterity/master/sources.cfg
always-checkout = force
auto-checkout +=
collective.dms.basecontent
plone.app.dexterity
plone.dexterity

17
sources.cfg Normal file
View File

@ -0,0 +1,17 @@
[remotes]
collective = git://github.com/collective
collective_push = git@github.com:collective
plone = git://github.com/plone
plone_push = git@github.com:plone
tdesvenain = git://github.com/tdesvenain
tdesvenain_push = git@github.com:tdesvenain
vincentfretin = git://github.com/vincentfretin
vincentfretin_push = git@github.com:vincentfretin
cedricmessiant = git://github.com/cedricmessiant
cedricmessiant_push = git@github.com:cedricmessiant
entrouvert = git://repos.entrouvert.org
entrouvert_push = git+ssh://git@repos.entrouvert.org
[sources]
collective.dms.basecontent = git ${remotes:vincentfretin}/collective.dms.basecontent.git pushurl=${remotes:vincentfretin_push}/collective.dms.basecontent.git
plone.dexterity = git ${remotes:cedricmessiant}/plone.dexterity.git pushurl=${remotes:cedricmessiant_push}/plone.dexterity.git

View File

@ -1,19 +1,12 @@
[buildout]
extends =
http://dist.plone.org/release/4.2.2/versions.cfg
versions.cfg
extensions =
mr.developer
base.cfg
parts =
download
install
test
package-name = collective.dms.basecontent
package-extras = [test]
# network speedup
eggs-directory = buildout-cache/eggs
download-cache = buildout-cache/downloads
@ -24,20 +17,11 @@ allow-hosts =
*.python.org
launchpad.net
develop = .
[download]
recipe = hexagonit.recipe.download
url = https://launchpad.net/plone/4.2/4.2.2/+download/Plone-4.2.2-UnifiedInstaller.tgz
url = https://launchpad.net/plone/4.2/${buildout:plone-version}/+download/Plone-${buildout:plone-version}-UnifiedInstaller.tgz
[install]
recipe = collective.recipe.cmd
on_install = true
cmds = tar jxvf ${download:location}/Plone-4.2.2-UnifiedInstaller/packages/buildout-cache.tar.bz2 1>/dev/null
[test]
recipe = zc.recipe.testrunner
eggs =
Pillow
${buildout:package-name} ${buildout:package-extras}
defaults = ['--auto-color', '--auto-progress', '-s', '${buildout:package-name}']
cmds = tar jxvf ${download:location}/Plone-${buildout:plone-version}-UnifiedInstaller/packages/buildout-cache.tar.bz2 1>/dev/null