Permalink
Browse files

RF: use "COVERALLS_PARALLEL" as environmental variable

  • Loading branch information...
1 parent 70afe14 commit 6504a39b2c0307609831eaff19dc5abd97716a3e @nno nno committed Jul 27, 2016
Showing with 2 additions and 2 deletions.
  1. +2 −2 MOcov/@MOcovMFileCollection/get_coverage_json.m
@@ -56,7 +56,7 @@
if isequal(getenv('TRAVIS'),'true')
params.service_name='travis-ci';
params.job_id=getenv('TRAVIS_JOB_ID');
- params.parallel=getenv('TRAVIS_PARALLEL');
+ params.parallel=getenv('COVERALLS_PARALLEL');
return;
end
@@ -65,7 +65,7 @@
function misc_data=get_misc_data(params)
misc_data_cell=cell(0);
- if isfield(params,'parallel')
+ if isfield(params,'parallel') && ~isempty(params.parallel)
% attempt to support parallel
misc_data_cell{end+1}=sprintf('"parallel": %s,\n',...
lower(params.parallel));

0 comments on commit 6504a39

Please sign in to comment.