Browse files

add configuration for Travis CI

  • Loading branch information...
1 parent 3829ad5 commit 4037eca556d6a927b7834ac3f8ce1eb96510e4ae @hvelarde hvelarde committed Dec 15, 2012
Showing with 12 additions and 33 deletions.
  1. +5 −10 .travis.yml
  2. +0 −23 buildout.cfg
  3. +7 −0 travis.cfg
View
15 .travis.yml
@@ -1,18 +1,13 @@
# http://about.travis-ci.org/docs/user/build-configuration/
language: python
-
-python:
- - 2.7
-
+python: 2.7
install:
- - python bootstrap.py
- - bin/buildout
-
+ - mkdir -p buildout-cache/downloads
+ - python bootstrap.py -c travis.cfg
+ - bin/buildout -c travis.cfg -N -q -t 3
script: make html
-
notifications:
irc:
- channels:
- - "irc.freenode.org#plone-docs"
+ channels: irc.freenode.org#plone-docs
on_success: never
on_failure: change
View
23 buildout.cfg
@@ -9,14 +9,6 @@ parts =
sphinx
funnelweb
-allow-hosts =
- *.plone.org
- *.python.org
- *.zope.org
- docutils.sourceforge.net
- effbot.org
- prdownloads.sourceforge.net
-
extensions =
mr.developer
buildout.dumppickedversions
@@ -34,21 +26,6 @@ sources-dir = ${buildout:directory}/src
allow-picked-versions = true
-# Don't try to do this smart optimization anymore as we are not running on rtd.org
-#[download]
-#recipe = hexagonit.recipe.download
-#url = https://launchpad.net/plone/4.2/4.2.1/+download/Plone-4.2.1-UnifiedInstaller.tgz
-#
-## http://datakurre.pandala.org/2012/09/speed-up-your-plone-add-on-tests-on.html
-#[install]
-#recipe = collective.recipe.cmd
-#on_install = true
-#cmds =
-# tar jxf ${download:location}/Plone-4.2.1-UnifiedInstaller/packages/buildout-cache.tar.bz2 1>/dev/null
-# cp -R buildout-cache/eggs ${buildout:eggs-directory}
-# cp -R buildout-cache/downloads ${buildout:download-cache}
-# rm -r buildout-cache/eggs buildout-cache/downloads
-
#
# We need to list all packages here which are referred by Sphinx's autodoc directive,
# as autodoc uses run-time import to scrape the text from source code files
View
7 travis.cfg
@@ -0,0 +1,7 @@
+[buildout]
+extends =
+ buildout.cfg
+ https://raw.github.com/collective/buildout.plonetest/master/travis-4.x.cfg
+
+# needed by BeautifulSoup
+allow-hosts += crummy.com

0 comments on commit 4037eca

Please sign in to comment.