diff options
Diffstat (limited to 't/travis.sh')
-rwxr-xr-x | t/travis.sh | 20 |
1 files changed, 14 insertions, 6 deletions
diff --git a/t/travis.sh b/t/travis.sh index 0779195..f7285fd 100755 --- 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 ] |