-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.travis.yml
40 lines (34 loc) · 1.1 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
language: objective-c
branches:
only:
- develop
env:
matrix:
- PLATFORM="ios"
- PLATFORM="android" ANDROID_VERSION="19"
global:
- ANDROID_SDK_FILE="android-sdk_r24.1.2-macosx.zip"
- ANDROID_HOME=${PWD}
- ANDROID_SDK=${ANDROID_HOME}/android-sdk-macosx
- PATH=${PATH}:${ANDROID_SDK}/tools:${ANDROID_SDK}/platform-tools
- GH_USER="TravisTheSmiths"
- CI_REPO="https://raw.githubusercontent.com/TheSmiths/continuous-integration/master"
# - secure: <travis encrypt GH_TOKEN= xxxxxxx>
matrix:
fast_finish: true
allow_failures:
- env: PLATFORM="android" ANDROID_VERSION="19"
before_install:
- curl -o install.sh ${CI_REPO}/install.sh
- curl -o ignore.sh ${CI_REPO}/ignore.sh
- curl -o release.sh ${CI_REPO}/release.sh
- curl -o bump_version.sh ${CI_REPO}/bump_version.sh
- chmod +x ignore.sh
install:
- npm install -g titanium alloy
- source install.sh
script:
- source bump_version.sh app
- titanium build -p ${PLATFORM} --build-only --log-level warn
after_success:
- source release.sh