Merge pull request #503 from tomwilkie/travis
Setup Travis CI for Weave.
This commit is contained in:
commit
745b8effbb
3 files changed
+21
-1
No files matched your search
+16
@@ -0,0 +1,16 @@
|
|||||||
|
language: go
|
||||||
|
sudo: false
|
||||||
|
go:
|
||||||
|
- 1.4
|
||||||
|
|
||||||
|
addons:
|
||||||
|
apt:
|
||||||
|
packages:
|
||||||
|
- libpcap-dev
|
||||||
|
|
||||||
|
install:
|
||||||
|
- go clean -i net
|
||||||
|
- go install -tags netgo std
|
||||||
|
- make travis
|
||||||
|
|
||||||
|
script: make tests
|
||||||
@@ -1,7 +1,7 @@
|
|||||||
PUBLISH=publish_weave publish_weavedns publish_weaveexec
|
PUBLISH=publish_weave publish_weavedns publish_weaveexec
|
||||||
|
|
||||||
.DEFAULT: all
|
.DEFAULT: all
|
||||||
.PHONY: all update tests publish $(PUBLISH) clean prerequisites build
|
.PHONY: all update tests publish $(PUBLISH) clean prerequisites build travis
|
||||||
|
|
||||||
# If you can use docker without being root, you can do "make SUDO="
|
# If you can use docker without being root, you can do "make SUDO="
|
||||||
SUDO=sudo
|
SUDO=sudo
|
||||||
@@ -23,6 +23,8 @@ DOCKER_DISTRIB_URL=https://get.docker.com/builds/Linux/x86_64/docker-$(WEAVEEXEC
|
|||||||
|
|
||||||
all: $(WEAVER_EXPORT) $(WEAVEDNS_EXPORT) $(WEAVEEXEC_EXPORT)
|
all: $(WEAVER_EXPORT) $(WEAVEDNS_EXPORT) $(WEAVEEXEC_EXPORT)
|
||||||
|
|
||||||
|
travis: $(WEAVER_EXE) $(WEAVEDNS_EXE)
|
||||||
|
|
||||||
update:
|
update:
|
||||||
go get -u -f -v -tags -netgo ./$(dir $(WEAVER_EXE)) ./$(dir $(WEAVEDNS_EXE))
|
go get -u -f -v -tags -netgo ./$(dir $(WEAVER_EXE)) ./$(dir $(WEAVEDNS_EXE))
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,7 @@
|
|||||||
# Weave - the Docker network
|
# Weave - the Docker network
|
||||||
|
|
||||||
|
[](https://travis-ci.org/zettio/weave)
|
||||||
|
|
||||||
Weave creates a virtual network that connects Docker containers
|
Weave creates a virtual network that connects Docker containers
|
||||||
deployed across multiple hosts.
|
deployed across multiple hosts.
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user