Skip to content

Commit

Permalink
Refactor testing with newer version of jQuery
Browse files Browse the repository at this point in the history
  • Loading branch information
hvelarde committed Jun 22, 2017
1 parent 40223c1 commit 657f52e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 9 deletions.
7 changes: 3 additions & 4 deletions .travis.yml
Expand Up @@ -17,18 +17,17 @@ env:
matrix:
- PLONE_VERSION=4.3
- PLONE_VERSION=4.3 DEXTERITY_ONLY=true
- PLONE_VERSION=4.3 JQUERY=1.9.1.3
- PLONE_VERSION=4.3 VERSIONS=versions:plone.app.jquery=1.9.2
- PLONE_VERSION=5.0
- PLONE_VERSION=5.1
matrix:
fast_finish: true
install:
- sed -ie "s#test-4.3#test-$PLONE_VERSION#" buildout.cfg
- sed -ie "s#versions-4.3#versions-$PLONE_VERSION#" buildout.cfg
- test $JQUERY && sed -ie "s#plone.app.jquery = 1.7.2.1#plone.app.jquery = $JQUERY#" versions-4.3.x.cfg || true
- python bootstrap.py
- bin/buildout annotate
- bin/buildout
- bin/buildout $VERSIONS annotate
- bin/buildout $VERSIONS
before_script:
- export DISPLAY=:99.0
- sh -e /etc/init.d/xvfb start
Expand Down
5 changes: 0 additions & 5 deletions versions-4.3.x.cfg
Expand Up @@ -23,10 +23,5 @@ plone.tiles = 2.0.0b2
# XXX: remove this after fixing https://github.com/collective/collective.cover/pull/700
plone.namedfile = 3.0.11

# for testing compatibility with newer versions of jQuery. The pin here is the
# same as http://dist.plone.org/release/4.3-latest/versions.cfg.
# (http://dist.plone.org/release/4.3.14/versions.cfg at the moment it was pinned)
plone.app.jquery = 1.7.2.1

# XXX: https://github.com/plone/plone.api/issues/364
plone.api = 1.6

0 comments on commit 657f52e

Please sign in to comment.