Skip to content

Commit

Permalink
Merge pull request #213 from plone/gforcada-patch-1
Browse files Browse the repository at this point in the history
test on python 3.5 and 3.6
  • Loading branch information
gforcada committed Jan 3, 2018
2 parents 8731f5e + 35803c2 commit d77214e
Show file tree
Hide file tree
Showing 4 changed files with 25 additions and 4 deletions.
10 changes: 10 additions & 0 deletions .travis.yml
Expand Up @@ -2,6 +2,8 @@ language: python
python:
- 2.7
- 3.4
- 3.5
- 3.6
sudo: false
cache:
directories:
Expand All @@ -16,6 +18,14 @@ matrix:
allow_failures:
- python: 3.4
env: CONF=extras.cfg EXTRAS_INSTALLED=true
- python: 3.5
env: CONF=travis.cfg
- python: 3.5
env: CONF=extras.cfg EXTRAS_INSTALLED=true
- python: 3.6
env: CONF=travis.cfg
- python: 3.6
env: CONF=extras.cfg EXTRAS_INSTALLED=true
install:
- pip install -r requirements.txt
- buildout -c $CONF annotate
Expand Down
6 changes: 6 additions & 0 deletions CHANGES.rst
Expand Up @@ -23,6 +23,12 @@ Change history
- Fix code analysis errors.
[gforcada]

- Fix travis (newer setuptools and zc.buildout needed)
[gforcada]

- Check Python 3.5 and 3.6 in travis as well (although they fail currently).
[gforcada]

2.2 (2016-02-20)
----------------

Expand Down
9 changes: 7 additions & 2 deletions buildout.cfg
Expand Up @@ -63,8 +63,8 @@ eggs =

[versions]
# keep them in sync with requirements.txt
setuptools = 33.1.1
zc.buildout = 2.8.0
setuptools = 38.2.4
zc.buildout = 2.10.0

bleach = 1.4.2
chardet = 2.3.0
Expand Down Expand Up @@ -114,6 +114,7 @@ twine = 1.6.4
Unidecode = 0.4.18
wheel = 0.26.0
z3c.dependencychecker = 1.15
zdaemon = 4.2.0
zc.recipe.cmmi = 1.3.6
zc.recipe.egg = 2.0.3
zc.recipe.testrunner = 2.0.0
Expand Down Expand Up @@ -141,3 +142,7 @@ zope.testing = 4.5.0
zope.testrunner = 4.0.4
zope.traversing = 4.0.0
zptlint = 0.2.4
zc.recipe.deployment = 1.3.0
zc.zdaemonrecipe = 1.0.0
WebOb = 1.7.4
ZConfig = 3.2.0
4 changes: 2 additions & 2 deletions requirements.txt
@@ -1,6 +1,6 @@
# keep them in sync with buildout.cfg
setuptools==33.1.1
zc.buildout==2.8.0
setuptools==38.2.4
zc.buildout==2.10.0

coverage==3.7
coveralls==1.2.0

1 comment on commit d77214e

@jenkins-plone-org
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@gforcada Jenkins CI reporting about code analysis
See the full report here: http://jenkins.plone.org/job/package-plone.recipe.codeanalysis/48/violations

plone/recipe/codeanalysis/__init__.py:147:57: C815 missing trailing comma in Python 3.5+
plone/recipe/codeanalysis/__init__.py:182:61: C813 missing trailing comma in Python 3

Follow these instructions to reproduce it locally.

Please sign in to comment.