Skip to content

Commit

Permalink
Travis: test on both 5.2.x and 5.2.3-pending.
Browse files Browse the repository at this point in the history
On those versions, pin check-manifest to 0.44 to prevent getting version conflicts for `build`, `pep517` and `virtualenv`.

We want to test with newer and older zope.interface versions, for #252
5.2.x is currently 5.2.2, with zope.interface 5.0.2.
5.2.3-pending has zope.interface 5.1.2.

This will fail once 5.2.3-pending is out of pending, but that is just a signal that I can clean this Travis config up again.
  • Loading branch information
mauritsvanrees committed Nov 5, 2020
1 parent 6892b29 commit 33f694b
Show file tree
Hide file tree
Showing 3 changed files with 48 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,10 @@ jobs:
env: PLONE_VERSION=5.2.x
dist: bionic
sudo: true
- python: "3.8"
env: PLONE_VERSION=5.2.3-pending
dist: bionic
sudo: true

cache:
pip: true
Expand Down
40 changes: 40 additions & 0 deletions tests-5.2.3-pending.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
[buildout]
extends =
https://github.com/raw/collective/buildout.plonetest/master/test-5.2.x.cfg
https://dist.plone.org/release/5.2.3-pending/versions.cfg
https://github.com/raw/collective/buildout.plonetest/master/qa.cfg
https://github.com/raw/plone/plone.app.robotframework/master/versions.cfg
base.cfg

parts +=
createcoverage

package-name = collective.easyform
package-extras = [test]
test-eggs =

# Python3 compatibility for plone.formwidget.z3cform is not released
extensions +=
mr.developer
sources = sources
sources-dir = share
auto-checkout +=
plone.formwidget.recaptcha

[versions]
setuptools =
zc.buildout =
coverage = >=3.7
plone.app.mosaic =
plone.app.robotframework = 1.5.0
# check-manifest = 0.45 requires 'build' 0.1.0.
# This requires a newer 'pep517' than is pinned by Plone,
# and on Python 2.7 a newer virtualenv than is pinned by Plone.
check-manifest = 0.44

[sources]
plone.formwidget.recaptcha = git ${remotes:plone}/plone.formwidget.recaptcha.git pushurl=${remotes:plone_push}/plone.formwidget.recaptcha.git

[remotes]
plone = https://github.com/plone
plone_push = git@github.com:plone
4 changes: 4 additions & 0 deletions tests-5.2.x.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,10 @@ zc.buildout =
coverage = >=3.7
plone.app.mosaic =
plone.app.robotframework = 1.5.0
# check-manifest = 0.45 requires 'build' 0.1.0.
# This requires a newer 'pep517' than is pinned by Plone,
# and on Python 2.7 a newer virtualenv than is pinned by Plone.
check-manifest = 0.44

[sources]
plone.formwidget.recaptcha = git ${remotes:plone}/plone.formwidget.recaptcha.git pushurl=${remotes:plone_push}/plone.formwidget.recaptcha.git
Expand Down

0 comments on commit 33f694b

Please sign in to comment.