Skip to content

Commit

Permalink
CI: Test builds.sh, upgrade golangci-lint
Browse files Browse the repository at this point in the history
  • Loading branch information
foxcpp committed Dec 6, 2020
1 parent e447a83 commit 35ae446
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,18 @@ tasks:
- build: |
cd maddy
go build ./...
- build.sh: |
./build.sh
./build.sh --destdir destdir/ install
find destdir/
- test: |
cd maddy
go test ./... -coverprofile=coverage.out -covermode=atomic -race
- integration-test: |
cd maddy/tests
./run.sh
- lint: |
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.23.8
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.33.0
cd maddy/
$(go env GOPATH)/bin/golangci-lint run || true
- build-man-pages: |
Expand Down

0 comments on commit 35ae446

Please sign in to comment.