From 5691b2a3f4d826cd090034f0af4d5981a8ce6ba0 Mon Sep 17 00:00:00 2001 From: mattn Date: Fri, 30 Mar 2012 00:38:29 +0900 Subject: [PATCH] add travis recepi. --- .travis.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..9bd039f --- /dev/null +++ b/.travis.yml @@ -0,0 +1,16 @@ +language: erlang # wither art thou, Go? + +install: + - hg clone -r weekly https://code.google.com/p/go $HOME/go + - cd $HOME/go/src && ./make.bash + - mkdir -p $HOME/src || true + - mkdir -p $HOME/bin || true + - mkdir -p $HOME/pkg || true + - export GOPATH=$HOME + - export PATH=$PATH:$HOME/go/bin + - ln -s $HOME/builds/mattn/go-sqlite3 $HOME/src/go-sqlite3 + - go get -v github.com/mattn/go-sqlite3 + +script: + - cd $HOME/src/go-sqlite3 && go build -v . + - cd $HOME/src/go-sqlite3 && go test -v .