enable travis CI

Signed-off-by: heartlock <21521209@zju.edu.cn>
This commit is contained in:
heartlock 2017-04-20 22:26:27 -09:00
parent 11ba1cb54d
commit 8af8fd07d5
2 changed files with 20 additions and 1 deletions

19
.travis.yml Normal file
View File

@ -0,0 +1,19 @@
language: go
go:
- 1.6.x
- 1.7.x
- 1.8.x
- tip
sudo: required
install:
- make install.tools
before_script:
- export PATH=$HOME/gopath/bin:$PATH
script:
- make .gitvalidation
- make verify
- make binaries

View File

@ -1,5 +1,5 @@
GO ?= go GO ?= go
EPOCH_TEST_COMMIT ?= f2925f58acc259c4b894353f5fc404bdeb40028e EPOCH_TEST_COMMIT ?= 022b25259e31784d68192cdcd87a82d6c357a1bb
PROJECT := github.com/kubernetes-incubator/cri-containerd PROJECT := github.com/kubernetes-incubator/cri-containerd
BINDIR ?= ${DESTDIR}/usr/local/bin BINDIR ?= ${DESTDIR}/usr/local/bin
BUILD_DIR ?= _output BUILD_DIR ?= _output