Skip to content

Commit 982e47a

Browse files
committed
Update travis.sh
1 parent 124e6bb commit 982e47a

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

.travis.sh

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,19 @@
11
#!/bin/sh
2+
# Based on pygit2's .travis.sh
23

4+
PREFIX=/home/travis/install
5+
6+
# Build libssh2 1.9.0 (Ubuntu only has 1.8.0, which doesn't work)
37
cd ~
8+
wget https://www.libssh2.org/download/libssh2-1.9.0.tar.gz
9+
tar xf libssh2-1.9.0.tar.gz
10+
cd libssh2-1.9.0
11+
./configure --prefix=/usr --disable-static && make
12+
sudo make install
413

5-
git clone --depth=1 -b ethomson/v1.1 https://github.com/libgit2/libgit2.git
14+
# Build libgit2
15+
cd ~
16+
git clone --depth=1 -b "maint/v1.1" https://github.com/libgit2/libgit2.git
617
cd libgit2/
718

819
mkdir build && cd build

0 commit comments

Comments
 (0)