forked from feathersui/feathersui-starling
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
33 lines (30 loc) · 1.28 KB
/
.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
24
25
26
27
28
29
30
31
32
33
git:
depth: 10
language: objective-c
before_script:
# brew
- brew update > /dev/null
- brew tap homebrew/binary
- brew install ant pandoc > /dev/null
- brew install caskroom/cask/brew-cask
- brew tap caskroom/versions
- brew cask install flash-player-debugger
# air
- mkdir -p air_sdk
- wget -O AIRSDK_Compiler.tbz2 http://airdownload.adobe.com/air/mac/download/latest/AIRSDK_Compiler.tbz2
- tar -xjf AIRSDK_Compiler.tbz2 -C air_sdk
- mkdir -p air_sdk/frameworks/libs/player/11.1/
- wget -O playerglobal.swc http://download.macromedia.com/get/flashplayer/updaters/19/playerglobal19_0.swc
- cp -f playerglobal.swc air_sdk/frameworks/libs/player/11.1/
- export AIR_HOME="$TRAVIS_BUILD_DIR/air_sdk"
# starling
- git clone -b master git://github.com/Gamua/Starling-Framework.git --depth 1
- mkdir -p third-party/starling
- cp -r Starling-Framework/starling/src/* third-party/starling
# flexunit
- wget -O flexunit.zip http://mirrors.ibiblio.org/apache/flex/flexunit/4.2.0/binaries/apache-flex-flexunit-4.2.0-4.12.0-bin.zip
- unzip -q flexunit.zip
- mkdir -p third-party/flexunit
- cp flexunit/* third-party/flexunit/
script:
- ant full -Dflashsdk.root="$AIR_HOME" -Dflashplayer="/Applications/Flash Player Debugger.app/Contents/MacOS/Flash Player Debugger"