Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Add travis support.

  • Loading branch information...
commit ecc82c8245551d42d7b72aba16c3597dee04f08b 1 parent eb04b8f
@mauritsvanrees mauritsvanrees authored
Showing with 23 additions and 5 deletions.
  1. +1 −0  .gitignore
  2. +9 −0 .travis.yml
  3. +6 −5 buildout.cfg
  4. +7 −0 travis.cfg
View
1  .gitignore
@@ -10,5 +10,6 @@ dist
download
eggs
fake-eggs
+local.cfg
parts
var
View
9 .travis.yml
@@ -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
View
11 buildout.cfg
@@ -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
View
7 travis.cfg
@@ -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]
Please sign in to comment.
Something went wrong with that request. Please try again.