We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d7b4b6d commit 4ac8c59Copy full SHA for 4ac8c59
.circleci/config.yml
@@ -18,13 +18,18 @@ workflows:
18
filters:
19
branches:
20
only: master
21
+ run_coveralls: true
22
-version: 2
23
+version: 2.1
24
jobs:
25
node-base: &node-base
26
working_directory: ~/solc-js
27
docker:
28
- image: circleci/node
29
+ parameters:
30
+ run_coveralls:
31
+ type: boolean
32
+ default: false
33
steps:
34
- run:
35
name: Versions
@@ -38,9 +43,12 @@ jobs:
38
43
39
44
name: test
40
45
command: npm run test
41
- - run:
42
- name: coveralls
- command: npm run coveralls
46
+ - when:
47
+ condition: <<parameters.run_coveralls>>
48
+ steps:
49
+ - run:
50
+ name: coveralls
51
+ command: npm run coveralls
52
- save_cache:
53
key: dependency-cache-{{ .Environment.CIRCLE_JOB }}-{{ checksum "package.json" }}
54
paths:
0 commit comments