aboutsummaryrefslogtreecommitdiff
path: root/t/travis.sh
blob: a35dd24e24a63c328524840366f287ba18c03ae3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/bash

# Set up tests to run under Travis
set -e
set -x

PERL=`which perl`
run() {
	sudo $PERL -I"SBO-Lib/lib" "$@"
}

run sboconfig -V 14.1
run sbosnap fetch
run sbofind sbotools
[[ 3 -eq yes | run sboinstall -i sbotools ]]
t/do_tests.sh