-
Notifications
You must be signed in to change notification settings - Fork 15
/
.travis.yml
23 lines (18 loc) · 991 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# required to get an OSX environment
language: objective-c
before_script:
# set the JAVA_HOME which is not set by default for OSX Travis-CI workers
- export "JAVA_HOME=`/usr/libexec/java_home`"
# Get hold of ANT.
- brew update
- brew install ant
# Grab Flex SDK
- curl -L http://download.macromedia.com/pub/flex/sdk/flex_sdk_4.6.zip > flex_sdk.zip
- unzip flex_sdk.zip -d ./flex_sdk
- export "FLEX_HOME=`pwd`/flex_sdk"
# Download and install a specific Flash Player from the Adobe Archives:
# http://helpx.adobe.com/flash-player/kb/archived-flash-player-versions.html
- curl -L https://raw.githubusercontent.com/Larusso/travis-CI-actionscript-demo/master/getFpFromArchive.sh > getFpFromArchive.sh
- sh getFpFromArchive.sh 'http://download.macromedia.com/pub/flashplayer/installers/archive/fp_11.7.700.225_archive.zip'
- export FLASH_CMD="`pwd`/Flash Player Debugger.app/Contents/MacOS/Flash Player Debugger"
script: ant test -DFLASH_PLAYER_CMD="${FLASH_CMD}"