1apt:
2  update: true
3
4env:
5  - PROTOBUF_VERSION=2.6.1
6  - PROTOBUF_VERSION=3.0.2
7  - PROTOBUF_VERSION=3.14.0
8
9before_install:
10  - HOME=/home/travis ./install-protobuf.sh
11  - PATH=/home/travis/bin:$PATH protoc --version
12
13script:
14  - PATH=/home/travis/bin:$PATH make buildserverall
15  - echo $TRAVIS_GO_VERSION
16  - if [[ "$PROTOBUF_VERSION" == "3.14.0" ]] && [[ "$TRAVIS_GO_VERSION" == "1.15.x" ]]; then ! git status --porcelain | read || (git status; git diff; exit 1); fi
17
18language: go
19
20go:
21  - 1.12.x
22  - 1.15.x
23