Thumbnail

rani/matterbridge.git

Clone URL: https://git.buni.party/rani/matterbridge.git

commit e6be25735e5dd7cba7a92913bbfe66c206064c16 Author: Wim <wim@42.be> Date: Sun Nov 17 23:16:06 2019 +0000 Upgrade linter and travis to go1.13 (#949) diff --git a/.golangci.yaml b/.golangci.yaml index 82b2d75..f2f0360 100644 --- a/.golangci.yaml +++ b/.golangci.yaml @@ -1746 +1747 @@ linters: - lll - maligned - prealloc + - wsl      # rules to deal with reported isues diff --git a/.travis.yml b/.travis.yml index 4814cd5..4c80c1d 100644 --- a/.travis.yml +++ b/.travis.yml @@ -2022 +2022 @@ 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 diff --git a/ci/bintray.sh b/ci/bintray.sh index c7e8a81..64013fa 100755 --- a/ci/bintray.sh +++ b/ci/bintray.sh @@ -17 +17 @@  #!/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