Skip to content

Commit

Permalink
Merge pull request #207 from plone/gforcada-fix-ci
Browse files Browse the repository at this point in the history
Fix CI
  • Loading branch information
gforcada committed Aug 21, 2017
2 parents fac5d1d + 0f58a56 commit 9217ddf
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 7 deletions.
9 changes: 4 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,14 @@ matrix:
- python: 3.4
env: CONF=extras.cfg EXTRAS_INSTALLED=true
install:
- python bootstrap-buildout.py --setuptools-version=18.5
- bin/buildout -c $CONF annotate
- bin/buildout -N -t 3 -c $CONF
- pip install -r requirements.txt
- buildout -c $CONF annotate
- buildout -N -t 3 -c $CONF
script:
- bin/code-analysis
- bin/test
after_success:
- bin/createcoverage run bin/test
- pip install coverage==3.7 coveralls
- bin/createcoverage -d htmlcov
- coveralls
after_failure:
- bin/flake8 --version
Expand Down
2 changes: 2 additions & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ Change history
`flake8_strict <https://pypi.python.org/pypi/flake8_strict>`_.
[gforcada]

- Fix Continuous Integration (Travis) by using pip to install setuptools and zc.buildout.
[gforcada]

2.2 (2016-02-20)
----------------
Expand Down
1 change: 1 addition & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,4 @@ include buildout.cfg
include extras.cfg
include travis.cfg
include .isort.cfg
include requirements.txt
6 changes: 4 additions & 2 deletions buildout.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,10 @@ eggs =
zest.releaser

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

bleach = 1.4.2
chardet = 2.3.0
check-manifest = 0.27
Expand Down Expand Up @@ -103,15 +107,13 @@ readme-renderer = 0.7.0
requests = 2.8.1
requests-toolbelt = 0.4.0
restructuredtext-lint = 0.12.2
setuptools = 18.5
six = 1.10.0
testfixtures = 4.4.0
transaction = 1.2.0
twine = 1.6.4
Unidecode = 0.4.18
wheel = 0.26.0
z3c.dependencychecker = 1.15
zc.buildout = 2.5.0
zc.recipe.cmmi = 1.3.6
zc.recipe.egg = 2.0.3
zc.recipe.testrunner = 2.0.0
Expand Down
6 changes: 6 additions & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# keep them in sync with buildout.cfg
setuptools==33.1.1
zc.buildout==2.8.0

coverage==3.7
coveralls==1.2.0

1 comment on commit 9217ddf

@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/26/violations

plone/recipe/codeanalysis/analyser.py:59:9: T003 print function found.
plone/recipe/codeanalysis/analyser.py:66:13: T003 print function found.
plone/recipe/codeanalysis/analyser.py:157:35: C812 missing trailing comma
plone/recipe/codeanalysis/analyser.py:190:77: C812 missing trailing comma
plone/recipe/codeanalysis/analyser.py:201:75: C812 missing trailing comma
plone/recipe/codeanalysis/analyser.py:206:60: C812 missing trailing comma
plone/recipe/codeanalysis/clean_lines.py:24:10: C812 missing trailing comma
plone/recipe/codeanalysis/clean_lines.py:55:63: C812 missing trailing comma
plone/recipe/codeanalysis/clean_lines.py:64:59: C812 missing trailing comma
plone/recipe/codeanalysis/check_manifest.py:21:17: C812 missing trailing comma
plone/recipe/codeanalysis/__init__.py:40:20: C812 missing trailing comma
plone/recipe/codeanalysis/__init__.py:87:74: C812 missing trailing comma
plone/recipe/codeanalysis/__init__.py:96:70: C812 missing trailing comma
plone/recipe/codeanalysis/__init__.py:97:14: C812 missing trailing comma
plone/recipe/codeanalysis/__init__.py:155:32: C812 missing trailing comma
plone/recipe/codeanalysis/__init__.py:176:13: T003 print function found.
plone/recipe/codeanalysis/__init__.py:191:9: T003 print function found.
plone/recipe/codeanalysis/__init__.py:200:9: T003 print function found.
plone/recipe/codeanalysis/__init__.py:248:9: T003 print function found.
plone/recipe/codeanalysis/flake8.py:23:32: C812 missing trailing comma
plone/recipe/codeanalysis/flake8.py:35:36: C812 missing trailing comma
plone/recipe/codeanalysis/tests/test_jshint.py:113:29: C812 missing trailing comma
plone/recipe/codeanalysis/tests/test_jshint.py:148:37: C812 missing trailing comma
plone/recipe/codeanalysis/tests/test_check_manifest.py:24:42: C812 missing trailing comma
plone/recipe/codeanalysis/tests/test_check_manifest.py:29:37: C812 missing trailing comma
plone/recipe/codeanalysis/tests/test_check_manifest.py:35:75: C812 missing trailing comma
plone/recipe/codeanalysis/tests/test_check_manifest.py:40:67: C812 missing trailing comma
plone/recipe/codeanalysis/tests/test_check_manifest.py:52:67: C812 missing trailing comma
plone/recipe/codeanalysis/tests/test_jscs.py:82:36: C812 missing trailing comma
plone/recipe/codeanalysis/tests/test_csslint.py:24:0: P103 other string does contain unindexed parameters
plone/recipe/codeanalysis/tests/test_flake8.py:80:36: C812 missing trailing comma
plone/recipe/codeanalysis/tests/test_flake8.py:105:53: C812 missing trailing comma
plone/recipe/codeanalysis/tests/test_flake8.py:118:53: C812 missing trailing comma
plone/recipe/codeanalysis/tests/test_flake8.py:128:45: C812 missing trailing comma
plone/recipe/codeanalysis/tests/test_i18ndude.py:70:36: C812 missing trailing comma
plone/recipe/codeanalysis/tests/test_script.py:76:28: C812 missing trailing comma
plone/recipe/codeanalysis/tests/test_script.py:86:27: C812 missing trailing comma
plone/recipe/codeanalysis/tests/test_script.py:92:28: C812 missing trailing comma
plone/recipe/codeanalysis/tests/test_recipe.py:51:20: C812 missing trailing comma
plone/recipe/codeanalysis/tests/test_recipe.py:64:22: C812 missing trailing comma
plone/recipe/codeanalysis/tests/test_recipe.py:68:21: C812 missing trailing comma
plone/recipe/codeanalysis/tests/test_recipe.py:83:22: C812 missing trailing comma
plone/recipe/codeanalysis/tests/test_recipe.py:107:78: C812 missing trailing comma
plone/recipe/codeanalysis/tests/test_recipe.py:139:32: C812 missing trailing comma
plone/recipe/codeanalysis/tests/test_recipe.py:152:60: C812 missing trailing comma
plone/recipe/codeanalysis/tests/test_recipe.py:160:32: C812 missing trailing comma
plone/recipe/codeanalysis/tests/test_clean_lines.py:43:36: C812 missing trailing comma
plone/recipe/codeanalysis/tests/test_clean_lines.py:62:36: C812 missing trailing comma

Follow these instructions to reproduce it locally.

Please sign in to comment.