Skip to content

Commit

Permalink
Add travis integration
Browse files Browse the repository at this point in the history
  • Loading branch information
saily committed Feb 27, 2013
1 parent e0ede5a commit 7b56d0c
Show file tree
Hide file tree
Showing 4 changed files with 53 additions and 9 deletions.
10 changes: 10 additions & 0 deletions .travis.yml
Original file line number Original file line Diff line number Diff line change
@@ -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
1 change: 1 addition & 0 deletions CONTRIBUTORS.txt
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
- Joscha Krutzki (joka) - Joscha Krutzki (joka)
- Harald Frießnegger (fRiSi) - Harald Frießnegger (fRiSi)
- Martijn Zweistra (themask96) - Martijn Zweistra (themask96)
- Daniel Widerin (saily)


Credits Credits
------- -------
Expand Down
9 changes: 0 additions & 9 deletions TODO.rst
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -13,15 +13,6 @@ xxx mention this package on:
* inform people that attended the openspace (frisi has adresses) * 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 FIXME
===== =====


Expand Down
42 changes: 42 additions & 0 deletions travis.cfg
Original file line number Original file line Diff line number Diff line change
@@ -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.