Skip to content

Commit

Permalink
Add travis support.
Browse files Browse the repository at this point in the history
  • Loading branch information
mauritsvanrees committed Dec 13, 2012
1 parent eb04b8f commit ecc82c8
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 5 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,6 @@ dist
download
eggs
fake-eggs
local.cfg
parts
var
9 changes: 9 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
language: python
python: "2.7"
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 install download install
- bin/buildout -N -t 3 -c travis.cfg
script: bin/test
11 changes: 6 additions & 5 deletions buildout.cfg
Original file line number Diff line number Diff line change
@@ -1,15 +1,16 @@
# Note: you need to create two directories manually:
# mkdir -p buildout-cache/eggs
# mkdir -p buildout-cache/downloads
[buildout]
extends =
https://raw.github.com/collective/buildout.plonetest/master/test-4.x.cfg
package-name = Products.feedfeeder


[instance]
eggs +=
Products.feedfeeder


[versions]
BeautifulSoup = 3.2.1
# We keep using feedparser 4.1 in the tests. Plone pins this to 5.0.1,
# but that gives errors during testing. We should fix those, but it
# seems everything works fine in a real website, also in Plone 4.3.
FeedParser = 4.1
feedparser = 4.1
7 changes: 7 additions & 0 deletions travis.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
[buildout]
extends =
buildout.cfg
https://raw.github.com/collective/buildout.plonetest/master/travis-4.x.cfg
# Yes, this is needed here, too:
package-name = Products.feedfeeder
#package-extras = [test]

0 comments on commit ecc82c8

Please sign in to comment.