From 9c9df9da1105dfea3a0dd13270c8f2de784f0de2 Mon Sep 17 00:00:00 2001 From: Dima Granetchi Date: Sun, 16 Nov 2014 19:04:29 +0200 Subject: [PATCH] nodejs target fix --- .travis.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index db1eae9..53afd54 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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 \ No newline at end of file