mirror of
https://github.com/42wim/matterbridge.git
synced 2024-11-25 12:12:05 -08:00
Fix travis deploy condition and update to golangci-lint v1.16
This commit is contained in:
parent
7f0e4ad448
commit
4d575ba13a
@ -22,7 +22,7 @@ jobs:
|
|||||||
go: 1.12.x
|
go: 1.12.x
|
||||||
env:
|
env:
|
||||||
- GO111MODULE=on
|
- GO111MODULE=on
|
||||||
- GOLANGCI_VERSION="v1.15.0"
|
- GOLANGCI_VERSION="v1.16.0"
|
||||||
- stage: test
|
- stage: test
|
||||||
# Run tests in a combination of Go environments.
|
# Run tests in a combination of Go environments.
|
||||||
script: ./ci/test.sh
|
script: ./ci/test.sh
|
||||||
@ -42,7 +42,7 @@ jobs:
|
|||||||
deploy:
|
deploy:
|
||||||
on:
|
on:
|
||||||
all_branches: true
|
all_branches: true
|
||||||
condition: env(TRAVIS_GO_VERSION) = 1.12.x AND env(GO111MODULE) = on
|
condition: $TRAVIS_GO_VERSION =~ ^1\.12
|
||||||
before_deploy:
|
before_deploy:
|
||||||
# Run the build script to generate the necessary binaries and images.
|
# Run the build script to generate the necessary binaries and images.
|
||||||
- /bin/bash ci/bintray.sh
|
- /bin/bash ci/bintray.sh
|
||||||
|
Loading…
Reference in New Issue
Block a user