Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add coverage to codacy #3040

Merged
merged 1 commit into from
Aug 22, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,8 @@ script:

after_success:
- ./docker-run coveralls
- export CODACY_PROJECT_TOKEN=1605f78ffb214af5ba6cb172a95db5d1
- ./docker-run python-codacy-coverage -r coverage.xml
- openssl aes-256-cbc -K $encrypted_ae821512cabf_key -iv $encrypted_ae821512cabf_iv -in deploy_key.enc -out ~/.ssh/id_rsa -d | true
- chmod 600 ~/.ssh/id_rsa
- git config --global user.email travis@camptocamp.com
Expand Down
1 change: 1 addition & 0 deletions docker-run
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ def main():
"--env=USER_NAME={}".format(getpass.getuser()),
"--env=USER_ID={}".format(os.getuid()),
"--env=GROUP_ID={}".format(os.getgid()),
"--env=CODACY_PROJECT_TOKEN={}".format(os.environ.get("CODACY_PROJECT_TOKEN", "")),
])

for env in [
Expand Down
1 change: 1 addition & 0 deletions docker/build/dev-requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ c2c.cssmin==0.7.dev6
c2c.template==1.4.1
chardet==3.0.4
Chameleon==3.1
codacy-coverage==1.3.6
codespell==1.10.0
coveralls==1.1
defusedxml==0.5.0
Expand Down