Go modules (#22)

* Move to go modules

* Move go.mod in root directory

* Update Readme

* Remove golang.org/x/tools from go.mod

* Remove go list from targets

* Set go version to 1.12

* Update Makefile

Co-Authored-By: hanzei <16541325+hanzei@users.noreply.github.com>

* Update dependencies

* Fix build
This commit is contained in:
Hanzei 2019-04-10 21:42:33 +02:00 committed by Christopher Speller
parent 05dd2de750
commit fe3553d999
327 changed files with 208 additions and 58246 deletions

View file

@ -1,25 +1,22 @@
version: 2.1
jobs:
lint:
executors:
default:
docker:
- image: circleci/golang:1.12-node
working_directory: /go/src/github.com/mattermost/mattermost-plugin-sample
jobs:
lint:
executor:
name: default
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
executor:
name: default
steps:
- checkout
- run: curl https://raw.githubusercontent.com/golang/dep/master/install.sh | sh
- run: make test
workflows: