containerd/.travis.yml
Derek McGowan 7473b2125a Call go fmt in travis
Not all checks are passing yet but we should still enforce
the most basic one.

Signed-off-by: Derek McGowan <derek@mcgstyle.net> (github: dmcgowan)
2017-03-21 23:36:18 -07:00

30 lines
596 B
YAML

dist: trusty
sudo: required
language: go
go:
- 1.7.x
- 1.8.x
- 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/
script:
- make fmt
- make binaries
- make coverage
- sudo PATH=$PATH GOPATH=$GOPATH make root-coverage
after_success:
- bash <(curl -s https://codecov.io/bash)