2016-12-19 22:24:56 +00:00
|
|
|
dist: trusty
|
|
|
|
sudo: required
|
|
|
|
|
|
|
|
language: go
|
|
|
|
|
|
|
|
go:
|
2017-03-07 01:23:00 +00:00
|
|
|
- 1.7.x
|
2017-02-20 17:59:53 +00:00
|
|
|
- 1.8.x
|
2016-12-19 22:24:56 +00:00
|
|
|
- tip
|
|
|
|
|
2017-04-03 20:14:15 +00:00
|
|
|
go_import_path: github.com/containerd/containerd
|
2016-12-19 22:24:56 +00:00
|
|
|
|
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
packages:
|
|
|
|
- btrfs-tools
|
|
|
|
|
2017-03-17 23:09:06 +00:00
|
|
|
env:
|
|
|
|
- GOOS=windows
|
|
|
|
- GOOS=linux
|
|
|
|
|
2016-12-19 22:24:56 +00:00
|
|
|
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/
|
2017-04-03 21:22:07 +00:00
|
|
|
- go get -u github.com/vbatts/git-validation
|
2016-12-19 22:24:56 +00:00
|
|
|
|
|
|
|
script:
|
2017-03-22 06:36:18 +00:00
|
|
|
- make fmt
|
2017-01-25 00:10:48 +00:00
|
|
|
- make binaries
|
|
|
|
- make coverage
|
2017-04-03 21:22:07 +00:00
|
|
|
- TRAVIS_COMMIT_RANGE="${TRAVIS_COMMIT_RANGE/.../..}" make dco
|
2017-01-25 00:10:48 +00:00
|
|
|
- sudo PATH=$PATH GOPATH=$GOPATH make root-coverage
|
2017-01-11 22:51:06 +00:00
|
|
|
|
|
|
|
after_success:
|
|
|
|
- bash <(curl -s https://codecov.io/bash)
|