test scripts use lix for dependencies

This commit is contained in:
2023-04-27 12:22:52 -06:00
parent 18bbd07c12
commit d432ef1993
3 changed files with 8 additions and 56 deletions

View File

@@ -3,17 +3,14 @@
KISS_TARGET=${KISS_TARGET:-$1}
KISS_TARGET=${KISS_TARGET:-interp}
./test-env.sh
# If Travis is running tests, basic dependencies need to be installed
if [ ! -z "$CI_OS_NAME" ]
if [ -n "$CI_OS_NAME" ]
then
(cd kiss/build-scripts && haxelib install all --always --quiet)
(cd kiss/build-scripts/$KISS_TARGET && haxelib install all --always --quiet)
lix download
fi
# Test projects with test-project.sh
if [ ! -z "$KISS_PROJECT" ]
if [ -n "$KISS_PROJECT" ]
then
./test-project.sh
# Test Kiss with utest cases in kiss/src/test/cases