Remove double lint (#3748)

- Circel CI and Golangci were doing linting jobs, removed circleci

Signed-off-by: Marko Baricevic <marbar3778@yahoo.com>
This commit is contained in:
Marko 2019-06-24 15:48:21 +02:00 committed by Ethan Buchman
parent 3e7752c29d
commit a44c621d2d

View File

@ -67,22 +67,6 @@ jobs:
export PATH="$GOBIN:$PATH" export PATH="$GOBIN:$PATH"
make build-slate make build-slate
lint:
<<: *defaults
steps:
- attach_workspace:
at: /tmp/workspace
- restore_cache:
key: v4-pkg-cache
- restore_cache:
key: v3-tree-{{ .Environment.CIRCLE_SHA1 }}
- run:
name: metalinter
command: |
set -ex
export PATH="$GOBIN:$PATH"
make lint
test_abci_apps: test_abci_apps:
<<: *defaults <<: *defaults
steps: steps:
@ -98,8 +82,8 @@ jobs:
export PATH="$GOBIN:$PATH" export PATH="$GOBIN:$PATH"
bash abci/tests/test_app/test.sh bash abci/tests/test_app/test.sh
# if this test fails, fix it and update the docs at: # if this test fails, fix it and update the docs at:
# https://github.com/tendermint/tendermint/blob/develop/docs/abci-cli.md # https://github.com/tendermint/tendermint/blob/develop/docs/abci-cli.md
test_abci_cli: test_abci_cli:
<<: *defaults <<: *defaults
steps: steps:
@ -169,24 +153,24 @@ jobs:
command: bash test/persist/test_failure_indices.sh command: bash test/persist/test_failure_indices.sh
localnet: localnet:
working_directory: /home/circleci/.go_workspace/src/github.com/tendermint/tendermint working_directory: /home/circleci/.go_workspace/src/github.com/tendermint/tendermint
machine: machine:
image: circleci/classic:latest image: circleci/classic:latest
environment: environment:
GOBIN: /home/circleci/.go_workspace/bin GOBIN: /home/circleci/.go_workspace/bin
GOPATH: /home/circleci/.go_workspace/ GOPATH: /home/circleci/.go_workspace/
GOOS: linux GOOS: linux
GOARCH: amd64 GOARCH: amd64
parallelism: 1 parallelism: 1
steps: steps:
- checkout - checkout
- run: - run:
name: run localnet and exit on failure name: run localnet and exit on failure
command: | command: |
set -x set -x
docker run --rm -v "$PWD":/go/src/github.com/tendermint/tendermint -w /go/src/github.com/tendermint/tendermint golang make build-linux docker run --rm -v "$PWD":/go/src/github.com/tendermint/tendermint -w /go/src/github.com/tendermint/tendermint golang make build-linux
make localnet-start & make localnet-start &
./scripts/localnet-blocks-test.sh 40 5 10 localhost ./scripts/localnet-blocks-test.sh 40 5 10 localhost
test_p2p: test_p2p:
environment: environment:
@ -273,9 +257,9 @@ jobs:
paths: paths:
- "release-version.source" - "release-version.source"
- save_cache: - save_cache:
key: v2-release-deps-{{ checksum "go.sum" }} key: v2-release-deps-{{ checksum "go.sum" }}
paths: paths:
- "/go/pkg/mod" - "/go/pkg/mod"
build_artifacts: build_artifacts:
<<: *defaults <<: *defaults
@ -358,9 +342,6 @@ workflows:
- master - master
- develop - develop
- setup_dependencies - setup_dependencies
- lint:
requires:
- setup_dependencies
- test_abci_apps: - test_abci_apps:
requires: requires:
- setup_dependencies - setup_dependencies