aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.travis.yml15
-rw-r--r--Dockerfile6
-rw-r--r--README.md2
3 files changed, 23 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml
new file mode 100644
index 000000000..a6f8b8815
--- /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/...
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"]
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.