commit b888ada8f817326d317775bf17fb230e2ebca4b0 parent 2a0cff55db8bf788e0047b0dae6e2e671484b7dc Author: Andreas Guldstrand <andreas.guldstrand@gmail.com> Date: Mon, 14 Dec 2015 14:28:13 +0100 Test custom repo; see #19 Diffstat:
| M | t/travis.sh | | | 20 | ++++++++++++++------ |
1 file changed, 14 insertions(+), 6 deletions(-)
diff --git a/t/travis.sh b/t/travis.sh @@ -4,17 +4,25 @@ set -e set -x +CWD=$(pwd) PERL=`which perl` I="SBO-Lib/lib" run() { - sudo $PERL "$@" + sudo $PERL -I$I "$@" } env -run -I$I sboconfig -V 14.1 -run -I$I sbosnap fetch -run -I$I sbofind sbotools +run sboconfig -V 14.1 +run sbosnap fetch +run sbofind sbotools cd t -run prep.pl -run test.t +sudo $PERL prep.pl +sudo $PERL test.t +cd $CWD +sudo rm -rf /usr/sbo +[ ! -e /usr/sbo/repo/SLACKBUILDS.TXT ] +run sboconfig -r https://github.com/Ponce/slackbuilds.git +run sbosnap fetch +[ -e /usr/sbo/repo/SLACKBUILDS.TXT ] +[ ! -e /usr/sbo/repo/SLACKBUILDS.TXT.gz ]