From 1a2f468695f9a57907cda7f018855ea7cc912175 Mon Sep 17 00:00:00 2001 From: Ismail Khoffi Date: Fri, 15 Jun 2018 15:17:40 -0700 Subject: [PATCH] fix circleci 2.0 config (#139) --- .circleci/{circle.yml => config.yml} | 23 +++++++++++++---------- 1 file changed, 13 insertions(+), 10 deletions(-) rename .circleci/{circle.yml => config.yml} (56%) diff --git a/.circleci/circle.yml b/.circleci/config.yml similarity index 56% rename from .circleci/circle.yml rename to .circleci/config.yml index 3fc8f0b6..c0bab9ea 100644 --- a/.circleci/circle.yml +++ b/.circleci/config.yml @@ -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