summaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authorCarlos Martín Nieto <[email protected]>2015-06-28 13:17:14 +0200
committerCarlos Martín Nieto <[email protected]>2015-06-28 13:17:14 +0200
commit5f3a9d76b86efa91d8f1ee26277484419bc95f8d (patch)
tree0557c5dc7f403bf7d6643ecb43d20fefa2195d1e /.travis.yml
parent3115b6c76236517ca6d10e54a1e34965c340531f (diff)
travis: don't install libgit2 for 'next' branch
We have our own libgit2 in a submodule, so this is unnecessary. While in the area, update which version of libgit2 would be downloaded and remove unnecessary CMake flags.
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml9
1 files changed, 1 insertions, 8 deletions
diff --git a/.travis.yml b/.travis.yml
index 9341639..fb080b9 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -2,14 +2,7 @@ language: go
sudo: false
-install:
- - cd "${HOME}"
- - 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/local .. && make && sudo make install
- - sudo ldconfig
- - cd "${TRAVIS_BUILD_DIR}"
+install: ./script/install-libgit2.sh
go:
- 1.1