Skip to content

Commit

Permalink
Add support for Codacy
Browse files Browse the repository at this point in the history
  • Loading branch information
hvelarde committed Jun 7, 2018
1 parent 573d0c9 commit dddb6e4
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 3 deletions.
3 changes: 3 additions & 0 deletions .codacy.yml
@@ -0,0 +1,3 @@
exclude_paths:
- bootstrap.py
- setup.py
10 changes: 8 additions & 2 deletions .travis.yml
Expand Up @@ -3,13 +3,13 @@ python: 2.7
sudo: false
cache:
directories:
- $HOME/.pylint.d
- eggs
- parts/node
addons:
# XXX: use an older Firefox ESR as we are stuck with selenium = 2.53.5
# https://github.com/SeleniumHQ/selenium/issues/2739#issuecomment-249482533
firefox: 45.9.0esr
env:
matrix:
fast_finish: true
before_install:
Expand All @@ -27,8 +27,14 @@ script:
- bin/code-analysis
- bin/test
after_success:
- bin/createcoverage --output-dir=htmlcov -t "--layer=!Acceptance"
- pip install coverage
- coverage run bin/test --layer=\!Acceptance
# Coveralls
- pip install coveralls
- coveralls
# Codacy
- coverage xml
- pip install codacy-coverage
- python-codacy-coverage -r coverage.xml
notifications:
irc: irc.freenode.org#plonegovbr
1 change: 0 additions & 1 deletion buildout.cfg
Expand Up @@ -9,7 +9,6 @@ package-extras = [test]

parts +=
code-analysis
createcoverage
node
omelette
rebuild_i18n-sh
Expand Down

0 comments on commit dddb6e4

Please sign in to comment.