33 строки
719 B
YAML
33 строки
719 B
YAML
language: go
|
|
|
|
# use containers which run faster and have cache
|
|
sudo: false
|
|
|
|
go:
|
|
- 1.8.x
|
|
- 1.7.x
|
|
|
|
go_import_path: github.com/TuneLab/go-truss
|
|
|
|
before_install:
|
|
# protobuf
|
|
# download, unzip in $HOME, add to $PATH
|
|
- wget https://github.com/google/protobuf/releases/download/v3.2.0/protoc-3.2.0-linux-x86_64.zip
|
|
- mv protoc-3.2.0-linux-x86_64.zip $HOME
|
|
- unzip ~/protoc-3.2.0-linux-x86_64.zip -d $HOME
|
|
- export PATH=$HOME/bin/:$PATH
|
|
|
|
# Dependencies
|
|
- go get -v github.com/golang/protobuf/protoc-gen-go
|
|
- go get -v github.com/jteeuwen/go-bindata/...
|
|
|
|
install:
|
|
# install our protoc plugin and truss
|
|
- go get -t -v github.com/TuneLab/go-truss/...
|
|
|
|
script:
|
|
- make test
|
|
|
|
notifications:
|
|
email: false
|