Skip to content

Commit

Permalink
Use correct golangci-lint version and set P2P_TAG
Browse files Browse the repository at this point in the history
  • Loading branch information
mvandeberg committed Mar 28, 2024
1 parent 50ce73d commit 0a5db07
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
install:
- sudo gem install coveralls-lcov
- go install github.com/jandelgado/gcov2lcov@latest
- curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.45.2
- curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.54.2
- go get ./...
script:
- go build -ldflags="-X main.Commit=$(git rev-parse HEAD)" cmd/koinos-p2p/main.go
Expand All @@ -38,7 +38,7 @@ jobs:
- docker
env:
- TAG=`if [ $TRAVIS_BRANCH == "master" ]; then echo -n latest; else echo -n $TRAVIS_BRANCH; fi`
- CHAIN_TAG=$TAG
- P2P_TAG=$TAG
before_install:
- sudo systemctl stop docker.service && sudo systemctl stop docker.socket
- sudo apt-get install ca-certificates curl
Expand Down

0 comments on commit 0a5db07

Please sign in to comment.