Permalink
Browse files

Adding travis build for both Plone 4.2 and 4.3.

  • Loading branch information...
1 parent bada04e commit 619c47917dcea5677d8918cab1e6095de7a51ae4 @malthe malthe committed Oct 24, 2012
Showing with 34 additions and 32 deletions.
  1. +14 −4 .travis.yml
  2. +10 −0 travis-4.2.cfg
  3. +10 −0 travis-4.3.cfg
  4. +0 −28 travis.cfg
View
18 .travis.yml
@@ -1,6 +1,16 @@
language: python
-python: "2.7"
+python:
+ - 2.7
+env:
+ - PLONE=4.2
+ - PLONE=4.3
+before_install:
+ - pip install http://effbot.org/downloads/Imaging-1.1.6.tar.gz
+ - sudo apt-get install -qq libxml2-dev libxslt-dev
+ - mkdir -p buildout-cache/eggs
+ - mkdir -p buildout-cache/downloads
install:
- - python bootstrap.py -c travis.cfg -d
- - bin/buildout -c travis.cfg -q
-script: bin/test
+ - python bootstrap.py -c -d travis-$PLONE.cfg
+ - bin/buildout -t 5 -Nqc travis-$PLONE.cfg
+script:
+ - bin/test
View
10 travis-4.2.cfg
@@ -0,0 +1,10 @@
+[buildout]
+extends =
+ https://raw.github.com/collective/buildout.plonetest/master/travis-4.2.x.cfg
+
+package-name = collective.multilingual
+package-extras = [test]
+versions = versions
+
+[versions]
+plone.testing = 4.0.6
View
10 travis-4.3.cfg
@@ -0,0 +1,10 @@
+[buildout]
+extends =
+ https://raw.github.com/collective/buildout.plonetest/master/travis-4.3.x.cfg
+
+package-name = collective.multilingual
+package-extras = [test]
+versions = versions
+
+[versions]
+plone.testing = 4.0.6
View
28 travis.cfg
@@ -1,28 +0,0 @@
-[buildout]
-extends =
- http://svn.plone.org/svn/collective/buildout/plonetest/test-4.x.cfg
-
-parts = test
-
-package-name = collective.multilingual
-package-extras = [test]
-
-# network speedup
-socket-timeout = 3
-allow-hosts =
- *.plone.org
- *.python.org
- *.zope.org
- docutils.sourceforge.net
- effbot.org
- prdownloads.sourceforge.net
-
-versions = versions
-
-[versions]
-plone.testing = 4.0.6
-
-[test]
-eggs =
- ${buildout:package-name} ${buildout:package-extras}
- ${buildout:test-eggs}

0 comments on commit 619c479

Please sign in to comment.