18 lines
549 B
Bash
Executable File
18 lines
549 B
Bash
Executable File
#! /bin/bash
|
|
|
|
KISS_TARGET=${KISS_TARGET:-$1}
|
|
KISS_TARGET=${KISS_TARGET:-interp}
|
|
|
|
if [ "$KISS_TARGET" = "projects" ]
|
|
then
|
|
KISS_HEADLESS="$TRAVIS_OS_NAME" ./test-projects.sh
|
|
else
|
|
# For CI tests, force install the dependencies
|
|
if [ ! -z "$TRAVIS_OS_NAME" ]
|
|
then
|
|
(cd src/build-scripts && haxelib install all --always)
|
|
(cd src/build-scripts/$KISS_TARGET && haxelib install all --always)
|
|
fi
|
|
|
|
haxe src/build-scripts/common-args.hxml src/build-scripts/common-test-args.hxml src/build-scripts/$KISS_TARGET/test.hxml
|
|
fi |