diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..73dbed1 --- /dev/null +++ b/.travis.yml @@ -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 diff --git a/travis.cfg b/travis.cfg new file mode 100644 index 0000000..f990b0a --- /dev/null +++ b/travis.cfg @@ -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 +