introducing circleci (#31)

Based on the dev meeting we are moving to circleci
This commit is contained in:
Carlos Tadeu Panato Junior 2019-03-06 19:03:52 +01:00 committed by Hanzei
parent c415b6b7b8
commit cf8dcecdf2
4 changed files with 34 additions and 12 deletions

30
.circleci/config.yml Normal file
View file

@ -0,0 +1,30 @@
version: 2.1
jobs:
lint:
docker:
- image: circleci/golang:1.12-node
working_directory: /go/src/github.com/mattermost/mattermost-plugin-sample
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-node
working_directory: /go/src/github.com/mattermost/mattermost-plugin-sample
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