Skip to content

Commit

Permalink
#29: Sonar step was removed from Travis CI config
Browse files Browse the repository at this point in the history
  • Loading branch information
vlavrynovych committed Nov 22, 2023
1 parent 10b1091 commit e67bd52
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 16 deletions.
1 change: 0 additions & 1 deletion .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,4 +55,3 @@ jobs:
- uses: thejeff77/[email protected]
with:
tag: 'v${{ needs.check.outputs.version }}'
# message: '${{ needs.check.outputs.version }}: ${{ needs.check.outputs.type }} release, commit ${{ needs.check.outputs.commit }}'
16 changes: 1 addition & 15 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,24 +6,10 @@ cache:
directories:
- node_modules

addons:
sonarcloud:
organization: "vlavrynovych"

install:
- npm install

script:
- mkdir backups
- npm run test:report
- npm run test:coverage:coveralls

- echo "sonar.projectKey=vlavrynovych_msr" > sonar-project.properties
- echo "sonar.organization=vlavrynovych" >> sonar-project.properties
- echo "sonar.projectVersion=develop" >> sonar-project.properties
- echo "sonar.projectName=MSR" >> sonar-project.properties
- echo "sonar.javascript.lcov.reportPaths=reports/coverage/lcov.info" >> sonar-project.properties
- echo "sonar.sources=src" >> sonar-project.properties
- echo "sonar.tests=test" >> sonar-project.properties
- echo "sonar.exclusions=test" >> sonar-project.properties
- sonar-scanner
- npm run test:coverage:coveralls
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@
"@types/node": "^20.8.10",
"@types/sinon": "^17.0.0",
"@typescript-eslint/eslint-plugin": "^6.9.1",
"@typescript-eslint/parser": "^6.11.0",
"chai": "^4.3.10",
"chai-as-promised": "^7.1.1",
"chai-spies": "^1.1.0",
Expand Down

0 comments on commit e67bd52

Please sign in to comment.