Add travis config

Signed-off-by: Gábor Lipták <gliptak@gmail.com>
This commit is contained in:
Gábor Lipták 2016-12-19 17:24:56 -05:00
parent 4c848c4654
commit be79986b4f
2 changed files with 27 additions and 0 deletions

26
.travis.yml Normal file
View file

@ -0,0 +1,26 @@
dist: trusty
sudo: required
language: go
go:
- 1.7
- tip
go_import_path: github.com/docker/containerd
addons:
apt:
packages:
- btrfs-tools
install:
- wget https://github.com/google/protobuf/releases/download/v3.1.0/protoc-3.1.0-linux-x86_64.zip -O /tmp/protoc-3.1.0-linux-x86_64.zip
- unzip -o -d /tmp/protobuf /tmp/protoc-3.1.0-linux-x86_64.zip
- export PATH=$PATH:/tmp/protobuf/bin/
- go get -d ./...
- go get -u github.com/golang/lint/golint
- go get -u github.com/stretchr/testify/assert
script:
- sudo PATH=$PATH GOPATH=$GOPATH make binaries coverage