-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
40 lines (31 loc) · 1.58 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
sudo: required
language: go
services:
- docker
env:
global:
- PROTOC_RELEASE="https://github.com/google/protobuf/releases/download/v3.5.1/protoc-3.5.1-linux-x86_64.zip"
- PROTOC_TARGET="${HOME}/protoc"
- PATH="${PROTOC_TARGET}/bin:${PATH}"
- secure: pn+X3rw+/WpZevN8Yeent73acprQsIrhbtNYDu1RNr+hUjGcoH77TqqYynn1gJjlAqN1gsZGCxW6kJ5kkUa2/wDCDzTB0h0jIs4wO5RBqdUurjMlB1sR08VF3Z3S6vucanbRX6gcVZMdDOpa63VhGZrmagjq7jJmtojkl6OGlA6G+OqYgSg8eNjz/QYmXE+Z3caET2mSBrv6pmEHYqg1xIe3d3CVmdnVMp3tvzVv9vXcyx8QdioosNboz4EDg45YgC+Ii4qMrjnNdpzahT99RuF5xNVMwMDwbRhyN6t+asswZ76ICHeDiwJkonG7k/Q3tU2IRAv0vt0Ttt3j5zgehay+q3nS3X/W0Y8ZWHWQDD2hKq7DlWinIpiBaqgfPrnpOn49591ypJFAn8DYcMnw82EZQ1tUA69Xa6jmNCJG1Z2V50LWwfQdti4Okc7RzVuHZNadK7D8Vf5gxRDBUBieYWjPP0mi62qDRCvh1kQemZH3QWZUkjwsL8z1e1RUhRxdAOQ3vM6LcPCdj/bVOgEdTOpMjMGEcsS5UgOXsDXarDJuJ2eezf//wqkh9DtLjlpYYmqQCwLZ0Hfi17Y3APXVbCY0RIA12RsGS9OeTHS7GiGDIQq2Mlki94Cf+u9i1WjSxxxSLA3CTukFppPErZQ9hdBBlCGZguyIGWtIjbqp4Vw=
go:
- 1.10.x
- master
cache:
- "${HOME}/protoc"
- "${GOPATH}/src/github.com/pseudomuto/protoc-gen-twagger/_tools"
- "${GOPATH}/src/github.com/pseudomuto/protoc-gen-twagger/vendor"
install:
- if [ ! -d "${PROTOC_TARGET}" ]; then curl -fsSL "${PROTOC_RELEASE}" > "${PROTOC_TARGET}.zip"; fi
- if [ -f "${PROTOC_TARGET}.zip" ]; then unzip "${PROTOC_TARGET}.zip" -d "${PROTOC_TARGET}"; fi
- go get github.com/golang/protobuf/{proto,protoc-gen-go}
- make setup
script: make test-ci
after_success: bash <(curl -s https://codecov.io/bash)
deploy:
provider: script
script: make publish-docker
on:
tags: true
notifications:
email: false