From 5d9ea0f3d4d7b8f3d6574abb6cd211c01451bae1 Mon Sep 17 00:00:00 2001 From: ernado Date: Mon, 21 Jul 2014 09:09:53 +0400 Subject: [PATCH 1/4] added travis file --- .travis.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 000000000..80641807b --- /dev/null +++ b/.travis.yml @@ -0,0 +1,15 @@ +language: go +go: + - 1.2 + - 1.3 + - release + - tip + +before_install: + - export PATH=/home/travis/gopath/bin:$PATH + +install: + - go get go/... + +script: + - go test go/... From b88603896a631ef973d9ba5f9241f7f94cd449b4 Mon Sep 17 00:00:00 2001 From: ernado Date: Mon, 21 Jul 2014 09:13:33 +0400 Subject: [PATCH 2/4] added dockerfile --- Dockerfile | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 Dockerfile diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 000000000..1243727a2 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,6 @@ +FROM cydev/go +RUN go get code.google.com/p/weed-fs/go/weed +EXPOSE 8080 +EXPOSE 9333 +VOLUME /data +ENTRYPOINT ["weed"] From e5a5dbde40294824764149cb4fb4777ab82bad43 Mon Sep 17 00:00:00 2001 From: ernado Date: Mon, 21 Jul 2014 09:17:36 +0400 Subject: [PATCH 3/4] added build status to readme --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 3c35a7faa..5769a8f30 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,8 @@ weed-fs ======= +[![Build Status](https://travis-ci.org/chrislusf/weed-fs.svg?branch=master)](https://travis-ci.org/chrislusf/weed-fs) + An official mirrow of code.google.com/p/weed-fs . Moving to github.com to make cooperations easier. This repo and the google code repo will be kept synchronized. From 34ccb4f6c99cb73f87c28e25590466845e8cfa2e Mon Sep 17 00:00:00 2001 From: Aleksandr Razumov Date: Mon, 21 Jul 2014 09:21:16 +0400 Subject: [PATCH 4/4] Update .travis.yml --- .travis.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 80641807b..a6f8b8815 100644 --- a/.travis.yml +++ b/.travis.yml @@ -9,7 +9,7 @@ before_install: - export PATH=/home/travis/gopath/bin:$PATH install: - - go get go/... + - go get ./go/... script: - - go test go/... + - go test ./go/...