Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
B
beem
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
hive
beem
Commits
c13d530a
Commit
c13d530a
authored
6 years ago
by
Holger
Browse files
Options
Downloads
Patches
Plain Diff
add sonar analysis
parent
590b5abc
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.travis.yml
+7
-1
7 additions, 1 deletion
.travis.yml
sonar-project.properties
+37
-0
37 additions, 0 deletions
sonar-project.properties
with
44 additions
and
1 deletion
.travis.yml
+
7
−
1
View file @
c13d530a
...
...
@@ -63,10 +63,16 @@ before_install:
script
:
-
tox
- sed -i 's/filename="/filename=".\//g' coverage.xml
- ( which sonar-scanner && sonar-scanner ||
true
)
after_success
:
-
if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then bash util/package-osx.sh; fi
-
if [[ "$BUILD_LINUX" == "yes" ]]; then bash util/package-linux.sh; fi
-
coveralls
#
- codecov
-
codecov
# - python-codacy-coverage -r coverage.xml
addons
:
sonarcloud
:
organization
:
holgern-github
This diff is collapsed.
Click to expand it.
sonar-project.properties
0 → 100644
+
37
−
0
View file @
c13d530a
# Metadata
sonar.projectKey
=
holgern_beem
sonar.projectName
=
Python Library for Steem
sonar.projectVersion
=
1.0
sonar.organization
=
holgern-github
# Upload to sonar cloud
sonar.host.url
=
https://sonarcloud.io
# Language
sonar.language
=
py
# Sources
sonar.sources
=
beem,beemgraphenebase,beembase,beemapi
# Unit tests
sonar.tests
=
./tests/
# Linter
#sonar.python.pylint=/usr/local/bin/pylint
#sonar.python.pylint_config=.pylintrc
#sonar.python.pylint.reportPath=pylint-report.txt
sonar.links.homepage
=
https://github.com/holgern/beem
sonar.links.ci
=
https://travis-ci.org/holgern/beem/
sonar.links.issue
=
https://github.com/holgern/beem/issues
sonar.links.scm
=
https://github.com/holgern/beem/tree/master
sonar.exclusions
=
htmlcov/*,docs/*,build/*,dist/*,*.py,tests/*
# coverage
# sonar.python.xunit.reportPath=test-reports/*.xml
#sonar.python.coverage.reportPath=coverage.xml
sonar.python.xunit.reportPath
=
nosetests.xml
sonar.python.coverage.reportPath
=
coverage.xml
#sonar.python.coveragePlugin=cobertura
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment