osx tests
This commit is contained in:
+3
-3
@@ -1,9 +1,9 @@
|
|||||||
# example travis.yml haxe configuration
|
# 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:
|
env:
|
||||||
global:
|
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
|
# - ARCH=i686 # add this to run in 32-bit mode. See availability at README
|
||||||
# SAUCE_ACCESS_KEY
|
# SAUCE_ACCESS_KEY
|
||||||
- secure: "YOUR_ENCRYPTED_SAUCE_ACCESS_KEY" # if you want to use SauceLabs
|
- secure: "YOUR_ENCRYPTED_SAUCE_ACCESS_KEY" # if you want to use SauceLabs
|
||||||
@@ -55,6 +55,6 @@ install: # setup the target
|
|||||||
script:
|
script:
|
||||||
- cd $TRAVIS_BUILD_DIR
|
- cd $TRAVIS_BUILD_DIR
|
||||||
# build the target. This will call haxe with the HXFLAGS and HXFLAGS_EXTRA environment variables
|
# 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
|
# 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
|
||||||
Reference in New Issue
Block a user