Skip to content

Commit

Permalink
Install buildout with pip to avoid infinite restart of buildout
Browse files Browse the repository at this point in the history
  • Loading branch information
idgserpro committed Mar 3, 2020
1 parent 44313ef commit 04ce000
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 197 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,6 @@ parts/
src/collective.*
src/plone.*
var/
/share/
/local
/pip-selfcheck.json
14 changes: 6 additions & 8 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,13 @@ matrix:
allow_failures:
- env: PLONE_VERSION=5.1
fast_finish: true
before_install:
# FIXME: I have no idea how and why six==1.11.0 is being installed
- pip uninstall -y six
install:
- sed -ie "s#test-4.3#test-$PLONE_VERSION#" buildout.cfg
- sed -ie "s#versions-4.3#versions-$PLONE_VERSION#" buildout.cfg
- python bootstrap.py
- bin/buildout buildout:test-eggs=$TEST_EGGS annotate
- bin/buildout buildout:test-eggs=$TEST_EGGS
- sed -ie "s#test-4.3#test-$PLONE_VERSION#" buildout.cfg
- sed -ie "s#versions-4.3#versions-$PLONE_VERSION#" buildout.cfg
- virtualenv .
- bin/pip install -r requirements.txt
- bin/buildout buildout:test-eggs=$TEST_EGGS annotate
- bin/buildout buildout:test-eggs=$TEST_EGGS
before_script:
- firefox -v
script:
Expand Down
189 changes: 0 additions & 189 deletions bootstrap.py

This file was deleted.

3 changes: 3 additions & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
-c https://dist.plone.org/release/5.1-latest/requirements.txt
setuptools
zc.buildout
3 changes: 3 additions & 0 deletions versions-4.3.x.cfg
Original file line number Diff line number Diff line change
@@ -1,2 +1,5 @@
[versions]
setuptools = 40.8.0
zc.buildout = 2.13.1

collective.js.bootstrap = 2.3.1.1

0 comments on commit 04ce000

Please sign in to comment.