update drone

This commit is contained in:
lizheming
2018-12-09 22:37:00 +08:00
parent 387eff6ec0
commit 42f12803c1
+9 -9
View File
@@ -17,14 +17,7 @@ steps:
commands:
- npm set config package-lock false
- npm install --registry=https://registry.npm.taobao.org
- npm run eslint && npm run test-cov -- --reporter=text-lcov > ./coverage/lcov.info
- name: code analysis
image: aosapps/drone-sonar-plugin
environment:
sonar_host: "https://sonar.eming.li"
sonar_token:
from_secret: sonar_token
- npm run eslint && npm run test-cov -- --reporter=text-lcov > ./lcov.info
- name: coveralls
image: lizheming/drone-coveralls
@@ -33,7 +26,14 @@ steps:
from_secret: coveralls_token
settings:
files:
- ./coverage/lcov.info
- ./lcov.info
- name: code analysis
image: aosapps/drone-sonar-plugin
environment:
sonar_host: "https://sonar.eming.li"
sonar_token:
from_secret: sonar_token
- name: rebuild-cache
image: drillster/drone-volume-cache