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

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

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

env

run -I$I sboconfig -V 14.1
run -I$I sbosnap fetch
run -I$I sbofind sbotools
cd t
run prep.pl
run test.t