mirror of
https://github.com/linuxkit/linuxkit.git
synced 2026-04-04 18:37:48 +00:00
Update dependencies to use sirupsen not Sirupsen
That entailed a few other fixes, eg small Notary API changes. Signed-off-by: Justin Cormack <justin.cormack@docker.com>
This commit is contained in:
37
.circleci/config.yml
Normal file
37
.circleci/config.yml
Normal file
@@ -0,0 +1,37 @@
|
||||
version: 2
|
||||
jobs:
|
||||
build:
|
||||
machine:
|
||||
image: circleci/classic:201710-02
|
||||
environment:
|
||||
GOPATH: /home/circleci/.go_workspace
|
||||
working_directory: $GOPATH/src/github.com/moby/tool
|
||||
steps:
|
||||
- checkout
|
||||
- run:
|
||||
name: "Lint"
|
||||
command: |
|
||||
go version
|
||||
GOMETALINTER_SHA=cc4415ed09f7073d595ee504cad4d98b71a3038e
|
||||
go get -d github.com/alecthomas/gometalinter
|
||||
cd $GOPATH/src/github.com/alecthomas/gometalinter
|
||||
git checkout -q "$GOMETALINTER_SHA"
|
||||
go build -v -o $GOPATH/bin/gometalinter .
|
||||
export PATH=$GOPATH/bin:$PATH
|
||||
gometalinter --install
|
||||
cd $GOPATH/src/github.com/moby/tool
|
||||
make lint
|
||||
- run:
|
||||
name: "Test"
|
||||
command: |
|
||||
cd $GOPATH/src/github.com/moby/tool
|
||||
make test
|
||||
- run:
|
||||
name: "Build"
|
||||
command: |
|
||||
cd $GOPATH/src/github.com/moby/tool
|
||||
make GOOS=darwin dist/moby-darwin
|
||||
make GOOS=windows dist/moby-windows
|
||||
make GOOS=linux dist/moby-linux
|
||||
- store_artifacts:
|
||||
path: ./dist
|
||||
Reference in New Issue
Block a user