Skip to content

Commit f14cc71

Browse files
committed
chore(scripts): minor cleanup
1 parent b9dc372 commit f14cc71

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

karma.conf.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ module.exports = function(config) {
9797
},
9898
sauceLabs: {
9999
testName: 'AngularDart',
100-
tunnelIdentifier: process.env.TRAVIS_JOB_NUMBER,
100+
tunnelIdentifier: env.TRAVIS_JOB_NUMBER,
101101
startConnect: false,
102102
options: {
103103
'selenium-version': '2.41.0',

scripts/travis/build.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ _run_karma_tests() {(
128128

129129
# Run sharded karma tests.
130130
export NUM_KARMA_SHARDS=4
131-
echo {0..3} | xargs -d ' ' -n 1 -P $NUM_KARMA_SHARDS -I SHARD_ID \
131+
seq 0 $((NUM_KARMA_SHARDS-1)) | xargs -n 1 -P $NUM_KARMA_SHARDS -I SHARD_ID \
132132
bash -c '_run_once SHARD_ID'
133133
else
134134
_run_once

0 commit comments

Comments
 (0)