diff --git a/.travis.yml b/.travis.yml index eb94cd239..b552c2924 100644 --- a/.travis.yml +++ b/.travis.yml @@ -12,23 +12,14 @@ jobs: os: osx env: - EXPECT_LINK_INFO="static" - - name: "Go 1.14 OSX bundled librdkafka" - go: "1.14" - os: osx - env: - - EXPECT_LINK_INFO="static" - name: "Go 1.16 Linux bundled librdkafka" go: "1.16" os: linux env: - EXPECT_LINK_INFO="static" - - name: "Go 1.14 Linux bundled librdkafka" - go: "1.14" - os: linux - env: - - EXPECT_LINK_INFO="static" - - name: "Go 1.14 OSX dynamic librdkafka" - go: "1.14" + - name: "Go 1.16 OSX dynamic librdkafka" + if: tag is present + go: "1.16" os: osx env: - EXPECT_LINK_INFO="dynamic" @@ -37,8 +28,9 @@ jobs: - LD_LIBRARY_PATH="$HOME/gopath/src/github.com/confluentinc/confluent-kafka-go/tmp-build/lib" - DYLD_LIBRARY_PATH="$HOME/gopath/src/github.com/confluentinc/confluent-kafka-go/tmp-build/lib" - LIBRDKAFKA_VERSION=master - - name: "Go 1.14 Linux dynamic librdkafka" - go: "1.14" + - name: "Go 1.16 Linux dynamic librdkafka" + if: tag is present + go: "1.16" os: linux env: - EXPECT_LINK_INFO="dynamic" @@ -52,11 +44,6 @@ jobs: os: windows env: - EXPECT_LINK_INFO="static" - - name: "Go 1.14 Windows bundled librdkafka" - go: "1.14" - os: windows - env: - - EXPECT_LINK_INFO="static" before_install: - if [[ $TRAVIS_OS_NAME == linux ]]; then wget -qO - https://packages.confluent.io/deb/5.4/archive.key | sudo apt-key add - ; fi