Skip to content

Commit 59e6737

Browse files
alexander-fensterstephenplusplus
authored andcommitted
chore: removing node7 job from CircleCI (#32)
* chore: removing node7 job from CircleCI * chore: rename reference
1 parent b44112c commit 59e6737

File tree

1 file changed

+21
-41
lines changed

1 file changed

+21
-41
lines changed

packages/google-cloud-speech/.circleci/config.yml

+21-41
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
1-
---
2-
# "Include" for unit tests definition.
3-
unit_tests: &unit_tests
4-
steps:
1+
unit_tests:
2+
steps: &unit_tests
53
- checkout
64
- run:
75
name: Install modules and dependencies.
@@ -13,8 +11,7 @@ unit_tests: &unit_tests
1311
name: Submit coverage data to codecov.
1412
command: node_modules/.bin/codecov
1513
when: always
16-
17-
version: 2.0
14+
version: 2
1815
workflows:
1916
version: 2
2017
tests:
@@ -27,10 +24,6 @@ workflows:
2724
filters:
2825
tags:
2926
only: /.*/
30-
- node7:
31-
filters:
32-
tags:
33-
only: /.*/
3427
- node8:
3528
filters:
3629
tags:
@@ -43,7 +36,6 @@ workflows:
4336
requires:
4437
- node4
4538
- node6
46-
- node7
4739
- node8
4840
- node9
4941
filters:
@@ -53,7 +45,6 @@ workflows:
5345
requires:
5446
- node4
5547
- node6
56-
- node7
5748
- node8
5849
- node9
5950
filters:
@@ -67,7 +58,7 @@ workflows:
6758
branches:
6859
only: master
6960
tags:
70-
only: /^v[\d.]+$/
61+
only: '/^v[\d.]+$/'
7162
- sample_tests:
7263
requires:
7364
- lint
@@ -76,7 +67,7 @@ workflows:
7667
branches:
7768
only: master
7869
tags:
79-
only: /^v[\d.]+$/
70+
only: '/^v[\d.]+$/'
8071
- publish_npm:
8172
requires:
8273
- system_tests
@@ -85,12 +76,11 @@ workflows:
8576
branches:
8677
ignore: /.*/
8778
tags:
88-
only: /^v[\d.]+$/
89-
79+
only: '/^v[\d.]+$/'
9080
jobs:
9181
node4:
9282
docker:
93-
- image: node:4
83+
- image: 'node:4'
9484
user: node
9585
steps:
9686
- checkout
@@ -106,28 +96,22 @@ jobs:
10696
when: always
10797
node6:
10898
docker:
109-
- image: node:6
110-
user: node
111-
<<: *unit_tests
112-
node7:
113-
docker:
114-
- image: node:7
99+
- image: 'node:6'
115100
user: node
116-
<<: *unit_tests
101+
steps: *unit_tests
117102
node8:
118103
docker:
119-
- image: node:8
104+
- image: 'node:8'
120105
user: node
121-
<<: *unit_tests
106+
steps: *unit_tests
122107
node9:
123108
docker:
124-
- image: node:9
109+
- image: 'node:9'
125110
user: node
126-
<<: *unit_tests
127-
111+
steps: *unit_tests
128112
lint:
129113
docker:
130-
- image: node:8
114+
- image: 'node:8'
131115
user: node
132116
steps:
133117
- checkout
@@ -153,10 +137,9 @@ jobs:
153137
command: npm run lint
154138
environment:
155139
NPM_CONFIG_PREFIX: /home/node/.npm-global
156-
157140
docs:
158141
docker:
159-
- image: node:8
142+
- image: 'node:8'
160143
user: node
161144
steps:
162145
- checkout
@@ -166,10 +149,9 @@ jobs:
166149
- run:
167150
name: Build documentation.
168151
command: npm run docs
169-
170152
sample_tests:
171153
docker:
172-
- image: node:8
154+
- image: 'node:8'
173155
user: node
174156
steps:
175157
- checkout
@@ -208,10 +190,9 @@ jobs:
208190
command: rm .circleci/key.json
209191
when: always
210192
working_directory: /home/node/speech-samples/
211-
212193
system_tests:
213194
docker:
214-
- image: node:8
195+
- image: 'node:8'
215196
user: node
216197
steps:
217198
- checkout
@@ -233,16 +214,15 @@ jobs:
233214
name: Remove unencrypted key.
234215
command: rm .circleci/key.json
235216
when: always
236-
237217
publish_npm:
238218
docker:
239-
- image: node:8
219+
- image: 'node:8'
240220
user: node
241221
steps:
242222
- checkout
243223
- run:
244224
name: Set NPM authentication.
245-
command: echo "//registry.npmjs.org/:_authToken=${NPM_TOKEN}" > ~/.npmrc
225+
command: 'echo "//registry.npmjs.org/:_authToken=${NPM_TOKEN}" > ~/.npmrc'
246226
- run:
247-
name: Publish the module to npm.
248-
command: npm publish
227+
name: Publish the module to npm.
228+
command: npm publish

0 commit comments

Comments
 (0)