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

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

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

env

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