diff options
author | Ben Kochie <superq@gmail.com> | 2018-04-10 15:34:34 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-04-10 15:34:34 +0200 |
commit | 9e485f11578b40915db8668ef9060a014d9cea2f (patch) | |
tree | 3014d9eaaf5678b20634cfab14e52ec7f1620d0d | |
parent | 178c62d022542c4fc799e24ae5edd0a8cf0ab6e5 (diff) | |
parent | ec6421e595b12e6206ac8c75add38c0c252c3b40 (diff) | |
download | prometheus_node_collector-9e485f11578b40915db8668ef9060a014d9cea2f.tar.bz2 prometheus_node_collector-9e485f11578b40915db8668ef9060a014d9cea2f.tar.xz prometheus_node_collector-9e485f11578b40915db8668ef9060a014d9cea2f.zip |
Merge pull request #889 from prometheus/superq/codespell
Add codespell to circleci.
-rw-r--r-- | .circleci/config.yml | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/.circleci/config.yml b/.circleci/config.yml index f2f3cee..48c4cc7 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml | |||
@@ -13,6 +13,15 @@ jobs: | |||
13 | - run: make | 13 | - run: make |
14 | - run: rm -v node_exporter | 14 | - run: rm -v node_exporter |
15 | 15 | ||
16 | codespell: | ||
17 | docker: | ||
18 | - image: circleci/python | ||
19 | |||
20 | steps: | ||
21 | - checkout | ||
22 | - run: sudo pip install codespell | ||
23 | - run: codespell --skip=".git,./vendor,ttar" | ||
24 | |||
16 | build: | 25 | build: |
17 | machine: true | 26 | machine: true |
18 | working_directory: /home/circleci/.go_workspace/src/github.com/prometheus/node_exporter | 27 | working_directory: /home/circleci/.go_workspace/src/github.com/prometheus/node_exporter |
@@ -134,6 +143,10 @@ workflows: | |||
134 | filters: | 143 | filters: |
135 | tags: | 144 | tags: |
136 | only: /.*/ | 145 | only: /.*/ |
146 | - codespell: | ||
147 | filters: | ||
148 | tags: | ||
149 | only: /.*/ | ||
137 | - docker_hub_master: | 150 | - docker_hub_master: |
138 | requires: | 151 | requires: |
139 | - test | 152 | - test |