Browse Source

Fix CI

master
Yota Toyama 5 years ago
parent
commit
e078ac5bef
  1. 3
      .circleci/config.yml
  2. 6
      tools/dependencies.sh
  3. 2
      tools/lint.sh

3
.circleci/config.yml

@ -28,9 +28,8 @@ jobs:
- run: |
apt -y update --fix-missing
apt -y install bundler
- run: tools/dependencies.sh
- run: tools/lint.sh
- run: tools/build.sh
- run: tools/lint.sh
- run: tools/unit_test.sh
- run: tools/integration_test.sh
- persist_to_workspace:

6
tools/dependencies.sh

@ -1,6 +0,0 @@
#!/bin/sh
set -ex
go get github.com/golangci/golangci-lint/cmd/golangci-lint
go get -d ./...

2
tools/lint.sh

@ -2,4 +2,4 @@
set -ex
golangci-lint run
go run github.com/golangci/golangci-lint/cmd/golangci-lint run

Loading…
Cancel
Save