Fix issue with branches and circle
This commit is contained in:
parent
18b067cd41
commit
937bc8ade0
|
@ -39,14 +39,6 @@ jobs:
|
||||||
paths:
|
paths:
|
||||||
- bin
|
- bin
|
||||||
- profiles
|
- profiles
|
||||||
- save_cache:
|
|
||||||
key: v1-pkg-cache
|
|
||||||
paths:
|
|
||||||
- /go/pkg
|
|
||||||
- save_cache:
|
|
||||||
key: v1-tree-{{ .Environment.CIRCLE_SHA1 }}
|
|
||||||
paths:
|
|
||||||
- /go/src/github.com/cosmos/cosmos-sdk
|
|
||||||
|
|
||||||
lint:
|
lint:
|
||||||
<<: *defaults
|
<<: *defaults
|
||||||
|
@ -54,10 +46,12 @@ jobs:
|
||||||
steps:
|
steps:
|
||||||
- attach_workspace:
|
- attach_workspace:
|
||||||
at: /tmp/workspace
|
at: /tmp/workspace
|
||||||
- restore_cache:
|
- checkout
|
||||||
key: v1-pkg-cache
|
- run:
|
||||||
- restore_cache:
|
name: dependencies
|
||||||
key: v1-tree-{{ .Environment.CIRCLE_SHA1 }}
|
command: |
|
||||||
|
export PATH="$GOBIN:$PATH"
|
||||||
|
make get_vendor_deps
|
||||||
- run:
|
- run:
|
||||||
name: Get metalinter
|
name: Get metalinter
|
||||||
command: |
|
command: |
|
||||||
|
@ -75,10 +69,12 @@ jobs:
|
||||||
steps:
|
steps:
|
||||||
- attach_workspace:
|
- attach_workspace:
|
||||||
at: /tmp/workspace
|
at: /tmp/workspace
|
||||||
- restore_cache:
|
- checkout
|
||||||
key: v1-pkg-cache
|
- run:
|
||||||
- restore_cache:
|
name: dependencies
|
||||||
key: v1-tree-{{ .Environment.CIRCLE_SHA1 }}
|
command: |
|
||||||
|
export PATH="$GOBIN:$PATH"
|
||||||
|
make get_vendor_deps
|
||||||
- run:
|
- run:
|
||||||
name: Test cli
|
name: Test cli
|
||||||
command: |
|
command: |
|
||||||
|
@ -91,10 +87,12 @@ jobs:
|
||||||
steps:
|
steps:
|
||||||
- attach_workspace:
|
- attach_workspace:
|
||||||
at: /tmp/workspace
|
at: /tmp/workspace
|
||||||
- restore_cache:
|
- checkout
|
||||||
key: v1-pkg-cache
|
- run:
|
||||||
- restore_cache:
|
name: dependencies
|
||||||
key: v1-tree-{{ .Environment.CIRCLE_SHA1 }}
|
command: |
|
||||||
|
export PATH="$GOBIN:$PATH"
|
||||||
|
make get_vendor_deps
|
||||||
- run:
|
- run:
|
||||||
name: Test individual module simulations
|
name: Test individual module simulations
|
||||||
command: |
|
command: |
|
||||||
|
@ -107,10 +105,12 @@ jobs:
|
||||||
steps:
|
steps:
|
||||||
- attach_workspace:
|
- attach_workspace:
|
||||||
at: /tmp/workspace
|
at: /tmp/workspace
|
||||||
- restore_cache:
|
- checkout
|
||||||
key: v1-pkg-cache
|
- run:
|
||||||
- restore_cache:
|
name: dependencies
|
||||||
key: v1-tree-{{ .Environment.CIRCLE_SHA1 }}
|
command: |
|
||||||
|
export PATH="$GOBIN:$PATH"
|
||||||
|
make get_vendor_deps
|
||||||
- run:
|
- run:
|
||||||
name: Test individual module simulations
|
name: Test individual module simulations
|
||||||
command: |
|
command: |
|
||||||
|
@ -123,10 +123,12 @@ jobs:
|
||||||
steps:
|
steps:
|
||||||
- attach_workspace:
|
- attach_workspace:
|
||||||
at: /tmp/workspace
|
at: /tmp/workspace
|
||||||
- restore_cache:
|
- checkout
|
||||||
key: v1-pkg-cache
|
- run:
|
||||||
- restore_cache:
|
name: dependencies
|
||||||
key: v1-tree-{{ .Environment.CIRCLE_SHA1 }}
|
command: |
|
||||||
|
export PATH="$GOBIN:$PATH"
|
||||||
|
make get_vendor_deps
|
||||||
- run:
|
- run:
|
||||||
name: Test full Gaia simulation
|
name: Test full Gaia simulation
|
||||||
command: |
|
command: |
|
||||||
|
@ -139,10 +141,12 @@ jobs:
|
||||||
steps:
|
steps:
|
||||||
- attach_workspace:
|
- attach_workspace:
|
||||||
at: /tmp/workspace
|
at: /tmp/workspace
|
||||||
- restore_cache:
|
- checkout
|
||||||
key: v1-pkg-cache
|
- run:
|
||||||
- restore_cache:
|
name: dependencies
|
||||||
key: v1-tree-{{ .Environment.CIRCLE_SHA1 }}
|
command: |
|
||||||
|
export PATH="$GOBIN:$PATH"
|
||||||
|
make get_vendor_deps
|
||||||
- run: mkdir -p /tmp/logs
|
- run: mkdir -p /tmp/logs
|
||||||
- run:
|
- run:
|
||||||
name: Run tests
|
name: Run tests
|
||||||
|
@ -166,8 +170,12 @@ jobs:
|
||||||
steps:
|
steps:
|
||||||
- attach_workspace:
|
- attach_workspace:
|
||||||
at: /tmp/workspace
|
at: /tmp/workspace
|
||||||
- restore_cache:
|
- checkout
|
||||||
key: v1-tree-{{ .Environment.CIRCLE_SHA1 }}
|
- run:
|
||||||
|
name: dependencies
|
||||||
|
command: |
|
||||||
|
export PATH="$GOBIN:$PATH"
|
||||||
|
make get_vendor_deps
|
||||||
- run:
|
- run:
|
||||||
name: gather
|
name: gather
|
||||||
command: |
|
command: |
|
||||||
|
|
Loading…
Reference in New Issue