Skip to content

Commit

Permalink
Merge pull request #171 from Thiht/sonarcloud
Browse files Browse the repository at this point in the history
init sonarcloud
  • Loading branch information
Thiht authored Nov 11, 2020
2 parents 85f46ce + 5373db1 commit 2f7f40c
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 4 deletions.
6 changes: 5 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@ cache:
services:
- docker

addons:
sonarcloud:
organization: thiht

before_script:
- nvm install
- nvm use
Expand All @@ -30,7 +34,7 @@ script:
- make VERSION=$TRAVIS_BRANCH start-docker

after_success:
- bash <(curl -s https://codecov.io/bash) -f coverage/cover.out
- sonar-scanner

before_deploy:
- docker login -u $DOCKER_USERNAME -p $DOCKER_PASSWORD
Expand Down
3 changes: 0 additions & 3 deletions codecov.yml

This file was deleted.

4 changes: 4 additions & 0 deletions sonar-project.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
sonar.projectKey=Thiht_smocker
sonar.projectName=Smocker

sonar.go.coverage.reportPaths=coverage/cover.out

0 comments on commit 2f7f40c

Please sign in to comment.