laconicd/.circleci/config.yml
Austin Abell 160e82b2ad
Implement eth_pendingTransactions, bump sdk version (#124)
* Update sdk version, implement pending txs, fix nonce check

* Bump cached dependencies in circleCI

* bump circleci go version

* updated linter and fixed bugs relating to go version 1.13
2019-10-19 08:23:09 +09:00

70 lines
1.5 KiB
YAML

version: 2
jobs:
build:
docker:
- image: circleci/golang:1.13
working_directory: /go/src/github.com/cosmos/ethermint
steps:
- checkout
- restore_cache:
keys:
- go-mod-v1-{{ checksum "go.sum" }}
- run:
name: Verify Dependencies and compile binaries for daemon and cli
command: make verify build
- save_cache:
key: go-mod-v1-{{ checksum "go.sum" }}
paths:
- "/go/pkg/mod"
lint:
docker:
- image: circleci/golang:1.13
working_directory: /go/src/github.com/cosmos/ethermint
steps:
- checkout
- restore_cache:
keys:
- go-mod-v1-{{ checksum "go.sum" }}
- run:
name: Get tools
command: make tools
- run:
name: Run linter
command: make lint
- save_cache:
key: go-mod-v1-{{ checksum "go.sum" }}
paths:
- "/go/pkg/mod"
test:
docker:
- image: circleci/golang:1.13
working_directory: /go/src/github.com/cosmos/ethermint
steps:
- checkout
- restore_cache:
keys:
- go-mod-v1-{{ checksum "go.sum" }}
- run:
name: Run all tests
command: make test-unit test-import
- save_cache:
key: go-mod-v1-{{ checksum "go.sum" }}
paths:
- "/go/pkg/mod"
workflows:
version: 2
build-workflow:
jobs:
- build
- lint
- test