Skip to content

Commit 4ac8c59

Browse files
committed
Change circleci config so that coveralls is only run on Node 10
1 parent d7b4b6d commit 4ac8c59

File tree

1 file changed

+12
-4
lines changed

1 file changed

+12
-4
lines changed

.circleci/config.yml

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,13 +18,18 @@ workflows:
1818
filters:
1919
branches:
2020
only: master
21+
run_coveralls: true
2122

22-
version: 2
23+
version: 2.1
2324
jobs:
2425
node-base: &node-base
2526
working_directory: ~/solc-js
2627
docker:
2728
- image: circleci/node
29+
parameters:
30+
run_coveralls:
31+
type: boolean
32+
default: false
2833
steps:
2934
- run:
3035
name: Versions
@@ -38,9 +43,12 @@ jobs:
3843
- run:
3944
name: test
4045
command: npm run test
41-
- run:
42-
name: coveralls
43-
command: npm run coveralls
46+
- when:
47+
condition: <<parameters.run_coveralls>>
48+
steps:
49+
- run:
50+
name: coveralls
51+
command: npm run coveralls
4452
- save_cache:
4553
key: dependency-cache-{{ .Environment.CIRCLE_JOB }}-{{ checksum "package.json" }}
4654
paths:

0 commit comments

Comments
 (0)