diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..a5bd8c7 --- /dev/null +++ b/.travis.yml @@ -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 diff --git a/README.md b/README.md index dba8820..bb58936 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,5 @@ # containerd +[![Build Status](https://travis-ci.org/docker/containerd.svg?branch=master)](https://travis-ci.org/docker/containerd) containerd is an industry-standard container runtime with an emphasis on simplicity, robustness and portability. It is available as a daemon for Linux and Windows, which can manage the complete container lifecycle of its host system: image transfer and storage, container execution and supervision, low-level storage and network attachments, etc..