fix for travisci

This commit is contained in:
nobonobo 2013-11-27 09:25:59 +09:00
parent c175b9347a
commit 530b07138a
2 changed files with 8 additions and 5 deletions

View file

@ -5,11 +5,7 @@ go:
- 1.1
- tip
install:
- git submodule init
- git submodule update
- make
- go install
install: make all
script:
- go test ./

View file

@ -1,5 +1,12 @@
# for GNU make
all: libunqlite.a
go build
src/unqlite.c:
git submodule init
git submodule update
libunqlite.a: src/unqlite.c src/unqlite.h
gcc -c src/unqlite.c -I./src -DUNQLITE_ENABLE_THREADS=1
ar rv libunqlite.a unqlite.o