try haxelib install all for travis test dependencies

This commit is contained in:
2020-11-13 15:07:37 -07:00
parent 60a4b10ca7
commit bc37381a47
10 changed files with 15 additions and 10 deletions

15
test.sh
View File

@@ -1,11 +1,12 @@
#! /bin/bash
if [ ! -z "$TRAVIS_OS_NAME" ]
then
haxelib install utest
haxelib install hxnodejs
fi
HISS_TARGET=${HISS_TARGET:-$1}
HISS_TARGET=${HISS_TARGET:-interp}
haxe src/build-scripts/test/$HISS_TARGET.hxml
if [ ! -z "$TRAVIS_OS_NAME" ]
then
(cd src/build-scripts && haxelib install all)
(cd src/build-scripts/$HISS_TARGET && haxelib install all)
fi
haxe src/build-scripts/$HISS_TARGET/test.hxml