Fixed Travis integration, smarter cfg files

This commit is contained in:
Cédric Messiant 2013-01-08 12:46:46 +01:00
parent 106200deb2
commit 63f79f1741
5 changed files with 62 additions and 41 deletions

26
base.cfg Normal file
View File

@ -0,0 +1,26 @@
[buildout]
plone-version = 4.2.3
package-name = collective.dms.mailcontent
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,30 +1,13 @@
[buildout]
extends =
https://raw.github.com/collective/buildout.plonetest/master/test-4.2.x.cfg
versions.cfg
base.cfg
extensions =
mr.developer
extensions +=
buildout.dumppickedversions
package-name = collective.dms.mailcontent
package-extras = [test]
parts +=
omelette
instance
eggs += Pillow
[test]
eggs =
${buildout:eggs}
${buildout:package-name} ${buildout:package-extras}
defaults = ['-s', '${buildout:package-name}', '--auto-color', '--auto-progress']
[omelette]
recipe = collective.recipe.omelette
eggs = ${test:eggs}
[sources]
collective.dms.basecontent = git ${remotes:vincentfretin}/collective.dms.basecontent.git pushurl=${remotes:vincentfretin_push}/collective.dms.basecontent.git

12
checkouts.cfg Normal file
View File

@ -0,0 +1,12 @@
[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.contact.content
collective.contact.vcard
collective.dms.basecontent
collective.dms.mailcontent
plone.app.dexterity
plone.dexterity

19
sources.cfg Normal file
View File

@ -0,0 +1,19 @@
[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.contact.content = git ${remotes:vincentfretin}/collective.contact.content.git pushurl=${remotes:vincentfretin_push}/collective.contact.content.git
collective.contact.vcard = git ${remotes:vincentfretin}/collective.contact.vcard.git pushurl=${remotes:vincentfretin_push}/collective.contact.vcard.git
collective.dms.basecontent = git ${remotes:vincentfretin}/collective.dms.basecontent.git pushurl=${remotes:vincentfretin_push}/collective.dms.basecontent.git
collective.dms.mailcontent = git ${remotes:vincentfretin}/collective.dms.mailcontent.git pushurl=${remotes:vincentfretin_push}/collective.dms.mailcontent.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.mailcontent
package-extras = [test]
# network speedup
eggs-directory = buildout-cache/eggs
download-cache = buildout-cache/downloads
@ -24,23 +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}']
[sources]
collective.dms.basecontent = git ${remotes:vincentfretin}/collective.dms.basecontent.git pushurl=${remotes:vincentfretin_push}/collective.dms.basecontent.git
cmds = tar jxvf ${download:location}/Plone-${buildout:plone-version}-UnifiedInstaller/packages/buildout-cache.tar.bz2 1>/dev/null