Merge pull request #889 from prometheus/superq/codespell

Add codespell to circleci.
This commit is contained in:
Ben Kochie 2018-04-10 15:34:34 +02:00 committed by GitHub
commit 9e485f1157
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -13,6 +13,15 @@ jobs:
- run: make - run: make
- run: rm -v node_exporter - run: rm -v node_exporter
codespell:
docker:
- image: circleci/python
steps:
- checkout
- run: sudo pip install codespell
- run: codespell --skip=".git,./vendor,ttar"
build: build:
machine: true machine: true
working_directory: /home/circleci/.go_workspace/src/github.com/prometheus/node_exporter working_directory: /home/circleci/.go_workspace/src/github.com/prometheus/node_exporter
@ -134,6 +143,10 @@ workflows:
filters: filters:
tags: tags:
only: /.*/ only: /.*/
- codespell:
filters:
tags:
only: /.*/
- docker_hub_master: - docker_hub_master:
requires: requires:
- test - test