Skip to content

Commit 1d5067b

Browse files
committed
Reduce number of Travis jobs
1 parent 4f3e610 commit 1d5067b

File tree

1 file changed

+6
-19
lines changed

1 file changed

+6
-19
lines changed

.travis.yml

Lines changed: 6 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -12,23 +12,14 @@ jobs:
1212
os: osx
1313
env:
1414
- EXPECT_LINK_INFO="static"
15-
- name: "Go 1.14 OSX bundled librdkafka"
16-
go: "1.14"
17-
os: osx
18-
env:
19-
- EXPECT_LINK_INFO="static"
2015
- name: "Go 1.16 Linux bundled librdkafka"
2116
go: "1.16"
2217
os: linux
2318
env:
2419
- EXPECT_LINK_INFO="static"
25-
- name: "Go 1.14 Linux bundled librdkafka"
26-
go: "1.14"
27-
os: linux
28-
env:
29-
- EXPECT_LINK_INFO="static"
30-
- name: "Go 1.14 OSX dynamic librdkafka"
31-
go: "1.14"
20+
- name: "Go 1.16 OSX dynamic librdkafka"
21+
if: tag is present
22+
go: "1.16"
3223
os: osx
3324
env:
3425
- EXPECT_LINK_INFO="dynamic"
@@ -37,8 +28,9 @@ jobs:
3728
- LD_LIBRARY_PATH="$HOME/gopath/src/github.com/confluentinc/confluent-kafka-go/tmp-build/lib"
3829
- DYLD_LIBRARY_PATH="$HOME/gopath/src/github.com/confluentinc/confluent-kafka-go/tmp-build/lib"
3930
- LIBRDKAFKA_VERSION=master
40-
- name: "Go 1.14 Linux dynamic librdkafka"
41-
go: "1.14"
31+
- name: "Go 1.16 Linux dynamic librdkafka"
32+
if: tag is present
33+
go: "1.16"
4234
os: linux
4335
env:
4436
- EXPECT_LINK_INFO="dynamic"
@@ -52,11 +44,6 @@ jobs:
5244
os: windows
5345
env:
5446
- EXPECT_LINK_INFO="static"
55-
- name: "Go 1.14 Windows bundled librdkafka"
56-
go: "1.14"
57-
os: windows
58-
env:
59-
- EXPECT_LINK_INFO="static"
6047

6148
before_install:
6249
- if [[ $TRAVIS_OS_NAME == linux ]]; then wget -qO - https://packages.confluent.io/deb/5.4/archive.key | sudo apt-key add - ; fi

0 commit comments

Comments
 (0)