diff --git a/.travis.yml b/.travis.yml index 575d6a1..385c280 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,11 +1,12 @@ language: go go: - - 1.0 - 1.1 - tip -install: make all +install: + - go get github.com/r7kamura/gospel + - make install script: - - go test ./ + - make test diff --git a/Makefile b/Makefile index 0ed71f3..3a23a18 100644 --- a/Makefile +++ b/Makefile @@ -1,8 +1,21 @@ # for GNU make +.PHONY: all build install test clean -all: libunqlite.a +all: build + +build: libunqlite.a go build +install: libunqlite.a + go install + +clean: + rm -f libunqlite.a + rm -rf src/* + +test: + go test ./ + src/unqlite.c: git submodule init git submodule update