Skip to content

Commit

Permalink
Change default values for code analysis' return-status-codes directive
Browse files Browse the repository at this point in the history
It is now False on development and True on CI
  • Loading branch information
hvelarde committed Dec 23, 2016
1 parent a9743e2 commit 5f2c7f4
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
4 changes: 4 additions & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ Changelog
1.0.6 (unreleased)
------------------

- Change default values for code analysis' ``return-status-codes`` directive:
it is now ``False`` on development and ``True`` on CI.
[hvelarde]

- Add requirements.txt and update README.txt to use it
[MrTango]

Expand Down
4 changes: 2 additions & 2 deletions bobtemplates/plone_addon/.travis.yml.bob
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ matrix:
fast_finish: true
install:
- python bootstrap-buildout.py
- bin/buildout -N buildout:download-cache=downloads annotate
- bin/buildout -N buildout:download-cache=downloads
- bin/buildout -N buildout:download-cache=downloads code-analysis:return-status-codes=True annotate
- bin/buildout -N buildout:download-cache=downloads code-analysis:return-status-codes=True
before_script:
- export DISPLAY=:99.0
- sh -e /etc/init.d/xvfb start
Expand Down
2 changes: 1 addition & 1 deletion bobtemplates/plone_addon/buildout.cfg.bob
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ recipe = plone.recipe.codeanalysis[recommended]
directory = ${buildout:directory}/src/{{{ package.namespace }}}
flake8-exclude = bootstrap.py,bootstrap-buildout.py,docs,*.egg.,omelette
flake8-max-complexity = 15
return-status-codes = True
return-status-codes = False


[createcoverage]
Expand Down

0 comments on commit 5f2c7f4

Please sign in to comment.