1apt: 2 update: true 3 4env: 5 - PROTOBUF_VERSION=2.6.1 6 - PROTOBUF_VERSION=3.0.2 7 - PROTOBUF_VERSION=3.5.1 8 9before_install: 10 - ./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.5.1" ]] && [[ "$TRAVIS_GO_VERSION" == "1.10.x" ]]; then ! git status --porcelain | read || (git status; git diff; exit 1); fi 17 18language: go 19 20go: 21 - 1.9.x 22 - 1.10.x 23