From be79986b4f7c21ac095f7ca192aa39c67764cf19 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=A1bor=20Lipt=C3=A1k?= Date: Mon, 19 Dec 2016 17:24:56 -0500 Subject: [PATCH] Add travis config MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Gábor Lipták --- .travis.yml | 26 ++++++++++++++++++++++++++ README.md | 1 + 2 files changed, 27 insertions(+) create mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 000000000..a5bd8c7d1 --- /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 dba882022..bb58936e4 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..