Add travis
This commit is contained in:
parent
3e69fea451
commit
86ebd97d04
|
@ -0,0 +1,13 @@
|
|||
language: python
|
||||
python: "2.7"
|
||||
before_install:
|
||||
- pip install http://effbot.org/downloads/Imaging-1.1.7.tar.gz
|
||||
install:
|
||||
- mkdir -p buildout-cache/eggs
|
||||
- mkdir -p buildout-cache/downloads
|
||||
- python bootstrap.py -c travis.cfg
|
||||
- bin/buildout -N -t 3 -c travis.cfg
|
||||
before_script:
|
||||
- "export DISPLAY=:99.0"
|
||||
- "sh -e /etc/init.d/xvfb start"
|
||||
script: bin/test -s plone.app.contenttypes
|
|
@ -0,0 +1,18 @@
|
|||
[buildout]
|
||||
extends = test-plone-4.3.x.cfg
|
||||
parts =
|
||||
download
|
||||
install
|
||||
test
|
||||
eggs-directory = buildout-cache/eggs
|
||||
download-cache = buildout-cache/downloads
|
||||
|
||||
[download]
|
||||
recipe = hexagonit.recipe.download
|
||||
url = https://launchpad.net/plone/4.3/4.3b2/+download/Plone-4.3b2-UnifiedInstaller.tgz
|
||||
|
||||
[install]
|
||||
recipe = collective.recipe.cmd
|
||||
on_install = true
|
||||
cmds = tar jxvf ${download:location}/Plone-4.3b2-UnifiedInstaller/packages/buildout-cache.tar.bz2 1>/dev/null
|
||||
|
Reference in New Issue