travis: build statically

This commit is contained in:
Carlos Martín Nieto 2017-04-14 12:51:13 +02:00
parent 5001942b59
commit e7747d3174
2 changed files with 2 additions and 7 deletions

View File

@ -1,15 +1,13 @@
language: go
sudo: required
install: ./script/install-libgit2.sh
go:
- 1.5
- 1.6
- 1.7
- tip
script: make test-static
matrix:
allow_failures:
- go: tip

View File

@ -1,8 +1,5 @@
default: test
build-libgit2:
./script/build-libgit2-static.sh
test: build-libgit2
go run script/check-MakeGitError-thread-lock.go
go test ./...