File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ #! /bin/sh
2+
3+ # The following commands are invoked by the before_script hook
4+ # in .travis.yml . They install a recent release of Parrot
5+ # and the master branch of libgit2
6+
7+ echo " LD_LIBRARY_PATH=$LD_LIBRARY_PATH "
8+
9+ # Grab a recent Parrot VM
10+ wget https://github.com/parrot/parrot/archive/RELEASE_5_7_0.zip
11+ unzip RELEASE*
12+ cd parrot-RELEASE*
13+ pwd
14+ perl Configure.pl --prefix=" /tmp/installed_parrot" && make install
15+ export PATH=/tmp/installed_parrot/bin/:$PATH
16+ cd ..
17+
18+ # The code below was lovingly borrowed from:
19+ # https://raw.github.com/libgit2/pygit2/master/.travis.sh
20+
21+ cd ~
22+
23+ git clone --depth=1 -b master https://github.com/libgit2/libgit2.git
24+ cd libgit2/
25+
26+ mkdir build && cd build
27+ cmake .. -DCMAKE_INSTALL_PREFIX=../_install -DBUILD_CLAR=OFF
28+ cmake --build . --target install
29+
30+ ls -la ..
Original file line number Diff line number Diff line change 1+ language : " c"
2+
13before_script :
2- - wget https://github.com/parrot/parrot/archive/RELEASE_5_3_0.zip
3- - unzip RELEASE*
4- - cd parrot-RELEASE*
5- - pwd
6- - perl Configure.pl --prefix="/tmp/installed_parrot" && make install
7- - export PATH=/tmp/installed_parrot/bin/:$PATH
8- - cd ..
4+ - ./.travis.sh
5+
6+ env :
7+ - LIBGIT2=~/libgit2/_install/ LD_LIBRARY_PATH=~/libgit2/_install/lib:/tmp/installed_parrot/lib
98
109# This sets up the Rosella submodule
1110before_install :
@@ -23,4 +22,3 @@ notifications:
2322 email :
2423 on_success : change
2524 on_failure : always
26- # env:
You can’t perform that action at this time.
0 commit comments