Skip to content

Commit 990d450

Browse files
committed
Updated CI build with support for testing PRs
1 parent e27179d commit 990d450

File tree

1 file changed

+17
-2
lines changed

1 file changed

+17
-2
lines changed

.circleci/config.yml

Lines changed: 17 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,10 +36,13 @@ jobs:
3636
command: npm test
3737
- run:
3838
name: Run coveralls
39-
command: 'cat temp/coverage/coverage.txt'
39+
command: 'cat temp/coverage/coverage.info'
4040
- run:
4141
name: Run coveralls
42-
command: 'cat temp/coverage/coverage.txt | ./node_modules/coveralls/bin/coveralls.js -v'
42+
command: 'cat temp/coverage/coverage.info | ./node_modules/coveralls/bin/coveralls.js -v true'
43+
environment:
44+
- COVERALLS_REPO_TOKEN: "VPsVN6sCVWupc3Sh4SKTm5zgGL4pDatDp"
45+
- COVERALLS_SERVICE_NAME: "circle-ci"
4346
- store_artifacts:
4447
path: temp/coverage
4548
prefix: coverage
@@ -93,6 +96,18 @@ jobs:
9396

9497
workflows:
9598
version: 2
99+
check_pr:
100+
jobs:
101+
- build:
102+
filters:
103+
branches:
104+
ignore: /^(dev|master)/
105+
- test:
106+
requires:
107+
- build
108+
filters:
109+
branches:
110+
ignore: /^(dev|master)/
96111
release_next:
97112
jobs:
98113
- build:

0 commit comments

Comments
 (0)