osx tests

This commit is contained in:
Dima Granetchi
2014-11-17 11:55:43 +02:00
parent bc74feb5b2
commit d36c5cffd0
+3 -3
View File
@@ -1,9 +1,9 @@
# example travis.yml haxe configuration
language: c # change this to objective-c to test on a mac machine
language: objective-c # change this to objective-c to test on a mac machine
env:
global:
# - OS=mac # add this too to let the script know that the OS is a mac
- OS=mac # add this too to let the script know that the OS is a mac
# - ARCH=i686 # add this to run in 32-bit mode. See availability at README
# SAUCE_ACCESS_KEY
- secure: "YOUR_ENCRYPTED_SAUCE_ACCESS_KEY" # if you want to use SauceLabs
@@ -55,6 +55,6 @@ install: # setup the target
script:
- cd $TRAVIS_BUILD_DIR
# 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" bash -x ~/travis-hx/build.sh
- HXFLAGS="-cp src -cp test -main Tests -lib buddy -D reporter=buddy.reporting.TravisHxReporter" bash -x ~/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