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

View File

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