Skip to content

Commit 25067bb

Browse files
alexander-fensterstephenplusplus
authored andcommitted
chore: removing node7 job from CircleCI (#142)
* chore: removing node7 job from CircleCI * chore: rename reference
1 parent 35c1af0 commit 25067bb

File tree

1 file changed

+20
-41
lines changed

1 file changed

+20
-41
lines changed

.circleci/config.yml

Lines changed: 20 additions & 41 deletions
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.
@@ -16,9 +14,7 @@ unit_tests: &unit_tests
1614
name: Submit coverage data to codecov.
1715
command: node_modules/.bin/codecov
1816
when: always
19-
20-
21-
version: 2.0
17+
version: 2
2218
workflows:
2319
version: 2
2420
tests:
@@ -31,10 +27,6 @@ workflows:
3127
filters:
3228
tags:
3329
only: /.*/
34-
- node7:
35-
filters:
36-
tags:
37-
only: /.*/
3830
- node8:
3931
filters:
4032
tags:
@@ -47,7 +39,6 @@ workflows:
4739
requires:
4840
- node4
4941
- node6
50-
- node7
5142
- node8
5243
- node9
5344
filters:
@@ -57,7 +48,6 @@ workflows:
5748
requires:
5849
- node4
5950
- node6
60-
- node7
6151
- node8
6252
- node9
6353
filters:
@@ -71,46 +61,39 @@ workflows:
7161
branches:
7262
only: master
7363
tags:
74-
only: /^v[\d.]+$/
64+
only: '/^v[\d.]+$/'
7565
- publish_npm:
7666
requires:
7767
- system_tests
7868
filters:
7969
branches:
8070
ignore: /.*/
8171
tags:
82-
only: /^v[\d.]+$/
83-
72+
only: '/^v[\d.]+$/'
8473
jobs:
8574
node4:
8675
docker:
87-
- image: node:4
76+
- image: 'node:4'
8877
user: node
89-
<<: *unit_tests
78+
steps: *unit_tests
9079
node6:
9180
docker:
92-
- image: node:6
93-
user: node
94-
<<: *unit_tests
95-
node7:
96-
docker:
97-
- image: node:7
81+
- image: 'node:6'
9882
user: node
99-
<<: *unit_tests
83+
steps: *unit_tests
10084
node8:
10185
docker:
102-
- image: node:8
86+
- image: 'node:8'
10387
user: node
104-
<<: *unit_tests
88+
steps: *unit_tests
10589
node9:
10690
docker:
107-
- image: node:9
91+
- image: 'node:9'
10892
user: node
109-
<<: *unit_tests
110-
93+
steps: *unit_tests
11194
lint:
11295
docker:
113-
- image: node:8
96+
- image: 'node:8'
11497
user: node
11598
steps:
11699
- checkout
@@ -120,10 +103,9 @@ jobs:
120103
- run:
121104
name: Run linting.
122105
command: npm run lint
123-
124106
docs:
125107
docker:
126-
- image: node:8
108+
- image: 'node:8'
127109
user: node
128110
steps:
129111
- checkout
@@ -133,10 +115,9 @@ jobs:
133115
- run:
134116
name: Build documentation.
135117
command: npm run docs
136-
137118
system_tests:
138119
docker:
139-
- image: node:8
120+
- image: 'node:8'
140121
user: node
141122
steps:
142123
- checkout
@@ -153,7 +134,6 @@ jobs:
153134
name: Run system tests.
154135
command: npm run system-test
155136
environment:
156-
# TODO: Figure out if both of these pairs are necessary.
157137
GOOGLE_APPLICATION_CREDENTIALS: .circleci/key.json
158138
GCLOUD_PROJECT: node-gcloud-ci
159139
GCLOUD_TESTS_KEY: .circleci/key.json
@@ -162,16 +142,15 @@ jobs:
162142
name: Remove unencrypted key.
163143
command: rm .circleci/key.json
164144
when: always
165-
166145
publish_npm:
167146
docker:
168-
- image: node:8
147+
- image: 'node:8'
169148
user: node
170149
steps:
171150
- checkout
172151
- run:
173152
name: Set NPM authentication.
174-
command: echo "//registry.npmjs.org/:_authToken=${NPM_TOKEN}" > ~/.npmrc
153+
command: 'echo "//registry.npmjs.org/:_authToken=${NPM_TOKEN}" > ~/.npmrc'
175154
- run:
176-
name: Publish the module to npm.
177-
command: npm publish
155+
name: Publish the module to npm.
156+
command: npm publish

0 commit comments

Comments
 (0)