nodejs target fix

This commit is contained in:
Dima Granetchi
2014-11-16 19:04:29 +02:00
parent 02c55d766c
commit 9c9df9da11
+2 -2
View File
@@ -15,7 +15,7 @@ env:
- TARGET=interp
- TARGET=macro
# optional: MACROFLAGS: specify the flags that are unique to building/running with --macro arguments
- TARGET=js TOOLCHAIN=default # target is tested by node.js
- TARGET=js TOOLCHAIN=default HXFLAGS_EXTRA="-nodejs -js \"$TARGET_DIR/js.js\"" # target is tested by node.js
# optional: FILENAME
# optional: NODECMD: set the command to be run by nodejs
- TARGET=js TOOLCHAIN=browser # target is tested by browsers / phantomjs
@@ -57,4 +57,4 @@ script:
# build the target. This will call haxe with the HXFLAGS and HXFLAGS_EXTRA environment variables
- HXFLAGS="-cp src -cp test -main Tests -lib buddy -D reporter=buddy.reporting.TravisHxReporter -D console_log" ~/travis-hx/build.sh
# run the tests
- bash -x ~/travis-hx/runtests.sh $FILENAME # this will set the $FILENAME defined on the environment variable to run the tests
- bash -x ~/travis-hx/runtests.sh $FILENAME # this will set the $FILENAME defined on the environment variable to run the tests