mirror of
https://github.com/deajan/obackup.git
synced 2024-12-04 20:53:41 +01:00
Fixed shunit2 runner
This commit is contained in:
parent
e5b0b89b70
commit
a14431c828
@ -12,4 +12,4 @@ before_script:
|
||||
mysql -e 'CREATE DATABASE travistest;'
|
||||
|
||||
script:
|
||||
dev/tests/run_tests.sh travis
|
||||
TRAVIS_RUN=true dev/tests/run_tests.sh
|
||||
|
@ -9,10 +9,10 @@ OBACKUP_DIR=${OBACKUP_DIR%%/dev*}
|
||||
DEV_DIR="$OBACKUP_DIR/dev"
|
||||
TESTS_DIR="$DEV_DIR/tests"
|
||||
|
||||
if [ "$1" == "travis" ]; then
|
||||
CONF_DIR="$TESTS_DIR/conf-travis"
|
||||
else
|
||||
if [ $TRAVIS_RUN == false ]; then
|
||||
CONF_DIR="$TESTS_DIR/conf-local"
|
||||
else
|
||||
CONF_DIR="$TESTS_DIR/conf-travis"
|
||||
fi
|
||||
|
||||
LOCAL_CONF="local.conf"
|
||||
|
Loading…
Reference in New Issue
Block a user