| 1234567891011121314 |
- #!/usr/bin/env bash
- go get github.com/golangci/golangci-lint/cmd/golangci-lint
- go install github.com/golangci/golangci-lint/cmd/golangci-lint
- golangci-lint run
- # check license headers
- # this needs to be run from the top level directory, because it uses
- # `git ls-files` under the hood.
- go get -u github.com/u-root/u-root/tools/checklicenses
- go install github.com/u-root/u-root/tools/checklicenses
- cd "${TRAVIS_BUILD_DIR}"
- echo "[*] Running checklicenses"
- go run github.com/u-root/u-root/tools/checklicenses -c .travis/checklicenses_config.json
|