add travis recepi.

This commit is contained in:
mattn 2012-03-30 00:38:29 +09:00
parent 08b7452f81
commit 5691b2a3f4
1 changed files with 16 additions and 0 deletions

16
.travis.yml Normal file
View File

@ -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 .