fix circleci 2.0 config (#139)

This commit is contained in:
Ismail Khoffi 2018-06-15 15:17:40 -07:00 committed by GitHub
parent 41369d7529
commit 1a2f468695
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 13 additions and 10 deletions

View File

@ -1,12 +1,13 @@
version: 2
jobs:
build:
working_directory: /go/src/github.com/tendermint/go-crypto
docker:
- image: circleci/golang:1.10.0
environment:
GOBIN: /tmp/workspace/bin
- image: circleci/golang:1.10.3
environment:
GOBIN: /tmp/workspace/bin
working_directory: /go/src/github.com/tendermint/go-crypto
steps:
- run: mkdir -p /tmp/workspace/bin
- run: mkdir -p /tmp/workspace/profiles
@ -17,9 +18,11 @@ jobs:
- run:
name: test
command: |
export PATH="$GOBIN:$PATH"
go env
go version
cd $PROJECT_PATH && make get_tools && make all
- save_cache:
key: v1-dep-{{ .Branch }}
paths:
- /go/pkg
make get_tools && make all
- save_cache:
key: v1-dep-{{ .Branch }}
paths:
- /go/pkg