Commit 4fbb4f88 authored by Carlos Tadeu Panato Junior's avatar Carlos Tadeu Panato Junior Committed by Hanzei
Browse files

add circleci (#8)

parent 90513241
version: 2.1
jobs:
lint:
docker:
- image: circleci/golang:1.12
working_directory: /go/src/github.com/mattermost/mattermost-plugin-profanity-filter
steps:
- checkout
- run: curl https://raw.githubusercontent.com/golang/dep/master/install.sh | sh
- run: make check-style
test:
docker:
- image: circleci/golang:1.12
working_directory: /go/src/github.com/mattermost/mattermost-plugin-profanity-filter
steps:
- checkout
- run: curl https://raw.githubusercontent.com/golang/dep/master/install.sh | sh
- run: make test
workflows:
version: 2
untagged-build:
jobs:
- lint
- test
language: go
go:
- "1.11.x"
install:
- curl https://raw.githubusercontent.com/golang/dep/master/install.sh | sh
script:
- make check-style
- make test
......@@ -49,7 +49,9 @@ endif
govet:
ifneq ($(HAS_SERVER),)
@echo Running govet
@$(GO) vet $$(go list ./server/...) || exit 1
$(GO) get golang.org/x/tools/go/analysis/passes/shadow/cmd/shadow
$(GO) vet $$(go list ./server/...)
$(GO) vet -vettool=$(GOPATH)/bin/shadow $$(go list ./server/...)
@echo Govet success
endif
......
# Mattermost Profanity Filter Plugin (Beta) [![Build Status](https://travis-ci.org/mattermost/mattermost-plugin-profanity-filter.svg?branch=master)](https://travis-ci.org/mattermost/mattermost-plugin-profanity-filter)
# Mattermost Profanity Filter Plugin (Beta) ![CircleCI branch](https://img.shields.io/circleci/project/github/mattermost/mattermost-plugin-profanity-filter/master.svg)
This plugin allows you to censor profanity on your Mattermost server.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment