Skip to content

Commit a7de830

Browse files
committed
fix for travis
1 parent 2ffbdfb commit a7de830

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

.travis.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ script:
77
- lerna bootstrap --ignore={demos}
88
- yarn test:unit
99
- lerna run test
10-
- node ./tests/bin/run-on-first-ci-job.js "yarn test:integration:build"
11-
- node ./tests/bin/run-on-first-ci-job.js "yarn test:integration"
10+
- node ./tests/bin/run-on-first-ci-job.js yarn test:integration:build
11+
- node ./tests/bin/run-on-first-ci-job.js yarn test:integration
1212
after_success: "yarn coveralls"
1313
cache:
1414
yarn: true

tests/bin/run-on-first-ci-job.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,10 @@ if (ciJobNumber() !== 1) {
77
}
88

99
// Run the command otherwise.
10-
const parts = process.argv[2].split(" ");
10+
const command = process.argv[2];
11+
const args = process.argv.slice(3);
1112

12-
const execution = spawn(parts[0], parts.slice(1));
13+
const execution = spawn(command, args);
1314

1415
execution.stdout.on("data", data => {
1516
process.stdout.write(data.toString());

0 commit comments

Comments
 (0)