File tree Expand file tree Collapse file tree 3 files changed +323
-245
lines changed
Expand file tree Collapse file tree 3 files changed +323
-245
lines changed Original file line number Diff line number Diff line change @@ -37,6 +37,22 @@ steps:
3737 commands :
3838 - MONGO_URL=mongodb://mongodb:27017/vote-test REDIS_URL=redis yarn mocha
3939
40+ - name : coverage
41+ image : node:13
42+ when :
43+ event :
44+ - pull_request
45+ depends_on :
46+ - test
47+ commands :
48+ - yarn coverage
49+ environment :
50+ COVERALLS_REPO_TOKEN :
51+ from_secret : coveralls_token
52+ COVERALLS_SERVICE_NAME : drone
53+ COVERALLS_GIT_BRANCH : ${DRONE_BRANCH}
54+ COVERALLS_SERVICE_NUMBER : ${DRONE_BUILD_NUMBER}
55+
4056 - name : build
4157 image : node:13
4258 when :
Original file line number Diff line number Diff line change 5454 "method-override" : " 3.0.0" ,
5555 "mongoose" : " 5.8.1" ,
5656 "nib" : " 1.1.2" ,
57- "nyc" : " 14 .1.1 " ,
57+ "nyc" : " 15 .1.0 " ,
5858 "object-assign" : " 4.1.1" ,
5959 "passport" : " 0.4.0" ,
6060 "passport-local" : " 1.0.0" ,
You can’t perform that action at this time.
0 commit comments