File tree Expand file tree Collapse file tree 1 file changed +8
-1
lines changed
Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -86,7 +86,14 @@ def run():
8686 args .include .extend (yml .get ('include' , []))
8787 args .exclude_lines_pattern .extend (yml .get ('exclude_lines_pattern' , []))
8888
89- args .service_job_id = os .environ .get ('TRAVIS_JOB_ID' , '' )
89+ if (args .service_name == 'travis-ci' ):
90+ args .service_job_id = os .environ .get ('TRAVIS_JOB_ID' , '' )
91+ elif (args .service_name == 'appveyor' ):
92+ args .service_job_id = os .environ .get ('APPVEYOR_BUILD_ID' , '' )
93+ elif (args .service_name == 'circle-ci' ):
94+ args .service_job_id = os .environ .get ('CIRCLE_WORKFLOW_ID' , '' )
95+ else :
96+ args .service_job_id = os .environ .get ('CI_BUILD_ID' , '' )
9097
9198 if args .repo_token == '' and args .service_job_id == '' :
9299 raise ValueError ("\n no coveralls.io token specified and no travis job id found\n "
You can’t perform that action at this time.
0 commit comments