-
Notifications
You must be signed in to change notification settings - Fork 60
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test: enable parallel circleci builds (#435)
* test: enable parallel circleci builds * fix: infer parallelism in circle.yml * fix: expose circle node index to before-script.sh * fix: add parallel: true to test overrides in circle.yml
- Loading branch information
1 parent
c8f05ee
commit eaeb9eb
Showing
3 changed files
with
16 additions
and
17 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,15 @@ | ||
test: | ||
override: | ||
- ~/.local/bin/circleci-matrix | ||
- bash -e scripts/circle/before-script.sh: | ||
parallel: true | ||
- npm test && npm run test:codecov: | ||
parallel: true | ||
machine: | ||
node: | ||
version: 6 | ||
environment: | ||
NODE_ENV: test | ||
DATABASE_USERNAME: ubuntu | ||
dependencies: | ||
pre: | ||
- mkdir -p ~/.local/bin | ||
- curl -fsSL https://git.io/v2Ifs -o ~/.local/bin/circleci-matrix | ||
- chmod +x ~/.local/bin/circleci-matrix | ||
override: | ||
- bash -e scripts/circle/install.sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters