Skip to content

Commit

Permalink
Upgrade linter and travis to go1.13 (#949)
Browse files Browse the repository at this point in the history
  • Loading branch information
42wim authored Nov 17, 2019
1 parent 075ca9c commit aae45a8
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
1 change: 1 addition & 0 deletions .golangci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,7 @@ linters:
- lll
- maligned
- prealloc
- wsl


# rules to deal with reported isues
Expand Down
10 changes: 5 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,22 +20,22 @@ jobs:
- stage: lint
# Run linting in one Go environment only.
script: ./ci/lint.sh
go: 1.12.x
go: 1.13.x
env:
- GO111MODULE=on
- GOLANGCI_VERSION="v1.17.1"
- GOLANGCI_VERSION="v1.21.0"
- stage: test
# Run tests in a combination of Go environments.
script: ./ci/test.sh
go: 1.11.x
go: 1.12.x
env:
- GO111MODULE=off
- script: ./ci/test.sh
go: 1.11.x
go: 1.12.x
env:
- GO111MODULE=on
- script: ./ci/test.sh
go: 1.12.x
go: 1.13.x
env:
- GO111MODULE=on
- REPORT_COVERAGE=1
Expand Down
2 changes: 1 addition & 1 deletion ci/bintray.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/env bash
set -u -e -x -o pipefail

go version | grep go1.12 || exit
go version | grep go1.13 || exit

VERSION=$(git describe --tags)
mkdir ci/binaries
Expand Down

0 comments on commit aae45a8

Please sign in to comment.