add travis
This commit is contained in:
1 parent
7167705409
commit
dada88d8a2
1 file changed
+14
+14
@@ -0,0 +1,14 @@
|
||||
language: go
|
||||
go: 1.3
|
||||
|
||||
services:
|
||||
- mongodb # 2.4.12
|
||||
|
||||
install:
|
||||
- export PATH=$PATH:$HOME/gopath/bin
|
||||
- go get -v github.com/leanote/leanote
|
||||
|
||||
script:
|
||||
- mongo --version
|
||||
- mongorestore -h localhost -d leanote --directoryperdb ./mongodb_backup/leanote_install_data/
|
||||
- go test github.com/leanote/leanote/tests
|
||||
Reference in new issue
Block a user