install libgit2 on travis ci

This commit is contained in:
Matthew Donoughe 2015-02-13 21:40:50 -05:00
parent 43f6a75066
commit 5be2387aeb
1 changed files with 5 additions and 0 deletions

View File

@ -1,5 +1,10 @@
language: go
install:
- wget -O libgit2-0.22.1.tar.gz https://github.com/libgit2/libgit2/archive/v0.22.1.tar.gz
- tar -xzvf libgit2-0.22.1.tar.gz
- cd libgit2-0.22.1 && mkdir build && cd build && cmake -DTHREADSAFE=ON -DBUILD_CLAR=OFF -DCMAKE_C_FLAGS=-fPIC -DCMAKE_BUILD_TYPE="RelWithDebInfo" -DCMAKE_INSTALL_PREFIX=/usr .. && make && make install
go:
- 1.1
- 1.2