Skip to content

Commit

Permalink
Fix coveralls (#910)
Browse files Browse the repository at this point in the history
* Do not pin coverage in Travis

* Remove coverage pin from buildout

* Pin coverage to latest version 5.1

* Pin coverage to 5.1
  • Loading branch information
tisto committed Apr 13, 2020
1 parent 3e328d8 commit a58394e
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ script:
- if [ "$PLONE_VERSION" == "5.2.x" ] && [ $TRAVIS_PYTHON_VERSION == '3.7' ]; then bin/test-no-sphinx-warnings ; fi
after_success:
- bin/test-coverage
- pip install coverage==3.7.1 coveralls
- pip install coverage==5.1 coveralls
- coveralls
# - docker login -u="$DOCKER_USERNAME" -p="$DOCKER_PASSWORD"
# - if [ ! $TRAVIS_TAG ]; then docker build --tag plone/plone.restapi:plone-$PLONE_VERSION-$(git rev-parse HEAD) --tag plone/plone.restapi:latest . ; fi
Expand Down
2 changes: 2 additions & 0 deletions plone-5.1.x.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ extends =
versions.cfg

[versions]
coverage = 5.1

# fixes: SyntaxError: invalid syntax (more.py, line 340)
zipp = 0.5.2

Expand Down
1 change: 1 addition & 0 deletions plone-5.2.x.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,4 @@ find-links += http://dist.plone.org/thirdparty/
[versions]
plone.restapi =
astunparse = 1.6.2
coverage = 5.1
2 changes: 1 addition & 1 deletion versions.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ plone.recipe.varnish = 1.3

# Code-analysis
plone.recipe.codeanalysis = 3.0.1
coverage = 3.7.1
coverage = 5.1
pep8 = 1.7.1
flake8 = 3.5.0
flake8-coding = 1.3.2
Expand Down

0 comments on commit a58394e

Please sign in to comment.