mirror of
https://github.com/octoleo/syncthing.git
synced 2024-11-15 01:34:05 +00:00
21 lines
488 B
YAML
21 lines
488 B
YAML
|
env:
|
||
|
- PROTOBUF_VERSION=2.6.1
|
||
|
- PROTOBUF_VERSION=3.0.2
|
||
|
- PROTOBUF_VERSION=3.5.1
|
||
|
|
||
|
before_install:
|
||
|
- ./install-protobuf.sh
|
||
|
- PATH=/home/travis/bin:$PATH protoc --version
|
||
|
|
||
|
script:
|
||
|
- PATH=/home/travis/bin:$PATH make buildserverall
|
||
|
- echo $TRAVIS_GO_VERSION
|
||
|
- if [[ "$PROTOBUF_VERSION" == "3.5.1" ]] && [[ "$TRAVIS_GO_VERSION" =~ ^1\.9\.[0-9]+$ ]]; then ! git status --porcelain | read || (git status; git diff; exit 1); fi
|
||
|
|
||
|
language: go
|
||
|
|
||
|
go:
|
||
|
- 1.8.x
|
||
|
- 1.9.x
|
||
|
- 1.10beta1
|