Permalink
Browse files

Add travis integration

  • Loading branch information...
1 parent e0ede5a commit 7b56d0c0202aeae63a096f3c7a7e517dfe2c2756 @saily saily committed Feb 27, 2013
Showing with 53 additions and 9 deletions.
  1. +10 −0 .travis.yml
  2. +1 −0 CONTRIBUTORS.txt
  3. +0 −9 TODO.rst
  4. +42 −0 travis.cfg
View
@@ -0,0 +1,10 @@
+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 -Nc travis.cfg
+script: bin/test -s plone.app.imagecropping
View
@@ -5,6 +5,7 @@
- Joscha Krutzki (joka)
- Harald Frießnegger (fRiSi)
- Martijn Zweistra (themask96)
+- Daniel Widerin (saily)
Credits
-------
View
@@ -13,15 +13,6 @@ xxx mention this package on:
* inform people that attended the openspace (frisi has adresses)
-infrastructure
-==============
-
-* travis-ci integration, so tests get run after each push:
- http://about.travis-ci.org/docs/user/getting-started/
-
- (they did it for embedly in this pull request:
- https://github.com/collective/collective.embedly/pull/2)
-
FIXME
=====
View
@@ -0,0 +1,42 @@
+[buildout]
+extends =
+ buildout.cfg
+
+extensions =
+ mr.developer
+
+eggs-directory = buildout-cache/eggs
+download-cache = buildout-cache/downloads
+test-eggs =
+package-name = plone.app.imagecropping
+package-extras = [test]
+parts =
+ download
+ install
+ test
+
+allow-hosts =
+ *.python.org
+ dist.plone.org
+
+versions = versions
+
+
+[download]
+recipe = hexagonit.recipe.download
+url = https://launchpad.net/plone/4.2/4.2.4/+download/Plone-4.2.4-UnifiedInstaller.tgz
+
+
+[install]
+recipe = collective.recipe.cmd
+on_install = true
+cmds = tar xjvf ${download:location}/Plone-4.2.4-UnifiedInstaller/packages/buildout-cache.tar.bz2 1>/dev/null
+
+
+[test]
+recipe = zc.recipe.testrunner
+defaults = ['-s', '${buildout:package-name}', '--auto-color', '--auto-progress']
+eggs =
+ Plone
+ ${buildout:package-name} ${buildout:package-extras}
+ ${buildout:test-eggs}

0 comments on commit 7b56d0c

Please sign in to comment.