Runs sonar-scanner after tests complete
This commit is contained in:
parent
170396d149
commit
8727a5e10f
|
@ -1,11 +1,6 @@
|
||||||
sudo: required
|
sudo: required
|
||||||
dist: trusty
|
dist: trusty
|
||||||
|
|
||||||
addons:
|
|
||||||
chrome: stable
|
|
||||||
sonarcloud:
|
|
||||||
organization: "sartography"
|
|
||||||
|
|
||||||
language: node_js
|
language: node_js
|
||||||
|
|
||||||
node_js:
|
node_js:
|
||||||
|
@ -18,9 +13,11 @@ before_script:
|
||||||
install:
|
install:
|
||||||
- npm install
|
- npm install
|
||||||
|
|
||||||
|
addons:
|
||||||
|
chrome: stable
|
||||||
|
|
||||||
script:
|
script:
|
||||||
- npm run ci
|
- npm run ci
|
||||||
- sonar-scanner
|
|
||||||
|
|
||||||
before_deploy:
|
before_deploy:
|
||||||
- docker build -t sartography/cr-connect-bpmn .
|
- docker build -t sartography/cr-connect-bpmn .
|
||||||
|
|
|
@ -12359,6 +12359,12 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"sonar-scanner": {
|
||||||
|
"version": "3.1.0",
|
||||||
|
"resolved": "https://registry.npmjs.org/sonar-scanner/-/sonar-scanner-3.1.0.tgz",
|
||||||
|
"integrity": "sha1-UcHBEB9UuYq8XYVlIJsdkjKXk0M=",
|
||||||
|
"dev": true
|
||||||
|
},
|
||||||
"sort-keys": {
|
"sort-keys": {
|
||||||
"version": "1.1.2",
|
"version": "1.1.2",
|
||||||
"resolved": "https://registry.npmjs.org/sort-keys/-/sort-keys-1.1.2.tgz",
|
"resolved": "https://registry.npmjs.org/sort-keys/-/sort-keys-1.1.2.tgz",
|
||||||
|
|
|
@ -18,7 +18,7 @@
|
||||||
"e2e-wf:build": "cd docker && docker-compose pull && docker-compose build --no-cache && cd ..",
|
"e2e-wf:build": "cd docker && docker-compose pull && docker-compose build --no-cache && cd ..",
|
||||||
"e2e-wf:start": "cd docker && docker-compose up -d && cd ..",
|
"e2e-wf:start": "cd docker && docker-compose up -d && cd ..",
|
||||||
"e2e-wf": "npm run e2e-wf:stop && npm run e2e-wf:clean && npm run e2e-wf:build && npm run e2e-wf:start",
|
"e2e-wf": "npm run e2e-wf:stop && npm run e2e-wf:clean && npm run e2e-wf:build && npm run e2e-wf:start",
|
||||||
"ci": "npm run lint && npm run test:coverage && npm run e2e:with-wf"
|
"ci": "npm run lint && npm run test:coverage && npm run e2e:with-wf && sonar-scanner"
|
||||||
},
|
},
|
||||||
"private": true,
|
"private": true,
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
@ -77,6 +77,7 @@
|
||||||
"postcss-short": "^5.0.0",
|
"postcss-short": "^5.0.0",
|
||||||
"protractor": "^5.4.2",
|
"protractor": "^5.4.2",
|
||||||
"puppeteer": "^1.20.0",
|
"puppeteer": "^1.20.0",
|
||||||
|
"sonar-scanner": "^3.1.0",
|
||||||
"ts-node": "~7.0.0",
|
"ts-node": "~7.0.0",
|
||||||
"tslint": "~5.11.0",
|
"tslint": "~5.11.0",
|
||||||
"typescript": "~3.5.3",
|
"typescript": "~3.5.3",
|
||||||
|
|
Loading…
Reference in New Issue