-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path.travis.yml
47 lines (47 loc) · 2.59 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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
git:
depth: 10
branches:
only:
- master
- develop
language: objective-c
env:
- TERM=dumb
before_script:
- wget -O adobe-graphicscorelib-3.0.26.swc https://github.com/opprimendi/graphicscorelib/releases/download/3.0.5/adobe-graphicscorelib-3.0.26.swc
- mkdir lib
- mv adobe-graphicscorelib-3.0.26.swc lib/adobe-graphicscorelib.swc
- sudo brew update >brew-update.log
- sudo brew install ant gradle >brew-install.log
- sudo brew install caskroom/cask/brew-cask
- sudo brew cask install flash-player-debugger
- export FLASHPLAYER_DEBUGGER="$HOME/Applications/Flash Player Debugger.app/Contents/MacOS/Flash
Player Debugger"
- export FLASH_PLAYER_EXE="$HOME/Applications/Flash Player Debugger.app/Contents/MacOS/Flash
Player Debugger"
- mkdir -p air_sdk
- wget -O AIRSDK_Compiler.tbz2 http://airdownload.adobe.com/air/mac/download/21.0/AIRSDK_Compiler.tbz2
- tar -xjf AIRSDK_Compiler.tbz2 -C air_sdk
- wget -O flex_sdk.zip http://mirrors.gigenet.com/apache/flex/4.15.0/binaries/apache-flex-sdk-4.15.0-bin.zip
- unzip -q flex_sdk.zip -d flex_sdk
- echo env.PLAYERGLOBAL_HOME=libs/player > flex_sdk/env.properties
- mkdir -p flex_sdk/frameworks/libs/player/11.1/
- mkdir -p flex_sdk/frameworks/libs/player/21.0/
- cp -f air_sdk/frameworks/libs/player/21.0/playerglobal.swc flex_sdk/frameworks/libs/player/11.1/
- cp -f air_sdk/frameworks/libs/player/21.0/playerglobal.swc flex_sdk/frameworks/libs/player/21.0/
- export FLEX_HOME="$TRAVIS_BUILD_DIR/flex_sdk"
- mkdir -p air_sdk/frameworks/libs/player/11.1/
- cp -f air_sdk/frameworks/libs/player/21.0/playerglobal.swc air_sdk/frameworks/libs/player/11.1/
- export AIR_HOME="$TRAVIS_BUILD_DIR/air_sdk"
- chmod +x flex_sdk/bin/mxmlc
- cp build.properties.sample build.properties
script:
- ant -Dbuild.number=$TRAVIS_BUILD_NUMBER
deploy:
provider: releases
api_key:
secure: gu69jbRY5pPaFfHcrst9MJkEMWhQhNZLGX4sjs7UgpBNKcpQnw3HqUjyKxvUI3GgGHLr9jIIeDzqTViY4guN99F63LsbbLJ8SE4jcmtDGzH7+E0kHZf6zeBlWiaApVRrseeaTBzsFVNdH08IgNUeiM6lT4+UJsYaMK43IRDVHw6nUf8keI4cy/Y6hs3u8DZ7jhkyols4LewbzVYi4EX/iplKtLyNAOtRp/882ZC2/tT6JIsAAidHymCo/aEwMEESvc1y8sdc0PbkS9DCfhEBqu4CNorL7iVJSudi25jNF6jucWqhru958L4zW0Mf4uaf53zaebR1jyCo7NotQZKUnhFeS7aaTkO8LL9PdG0NGS5WHtMOA/midJLVdUjHEl+Jbqn0eAU+hbdS7VDeBreF2NQYDGJGK6+5VAAsB2nT+obg7Bw5z1qaiIjYN6bkKtMYUE0JFl2txUEEC7d4cWa7gEM2PPYWu3Ho546eGwbpKp6JNAu4X34QKstaYYmd1tFMbHfcKHs90yzN4atLE36l8nQvABjZROGgU7BDEQQqlkLjBG9K+ypMx4FOoFN7xtnfrFEKiUx9N7EaEOcqWlOX7TKCJf3fj8C9AMp4WQYrTRovvtWe2S8xCMGC7NOx11lV1I4xmxpb6SXCCp+87TkfqqxT/aX0bqwjhcC6ryiJlvY=
file: $TRAVIS_BUILD_DIR/lib/opprimendi-away3d4-1.6.$TRAVIS_BUILD_NUMBER.swc
skip_cleanup: true
on:
repo: opprimendi/away3d