Permalink
Fetching contributors…
Cannot retrieve contributors at this time
41 lines (33 sloc) 1.51 KB
language: objective-c
node_js:
- "0.12"
env:
global:
- MODULE_NAME=com.testfairy.titestfairy
before_install:
- export MODULE_ROOT=$PWD
- brew update
- sudo easy_install pyyaml
- sudo easy_install Pygments
install:
- cd $MODULE_ROOT
- source install.sh -s "--branch 5_1_X"
- git clone --depth 1 https://github.com/appcelerator/titanium_mobile
- export TI_ROOT=$PWD
script:
- bash script.sh
before_deploy:
- sed -i '' -E "s/^version.+/version:$TRAVIS_TAG/" ./android/manifest
- sed -i '' -E "s/^version.+/version:$TRAVIS_TAG/" ios/manifest
- bash script.sh
deploy:
provider: releases
api_key:
secure: RbwClfiGE/SahgQnmFvvhhPjZ5I4SmOxBbFbxloNXLGu/D9LCHZlPs9vdBmkc72eiKImGudpiO0nVcE8opn86B7XzaOuHjHqL1XUYvHHTGS7K2b1mSbeda8Y8JY/M0RqWYI3U750XBh+sVyl353xr7Bkd+XiTGKTW2VqxzteGDtuGq9pBBTbKArMKZZqIfdw4hkwoelHyIrRHfxP4OnW0FNqV0MFp83lEZlLQg5TA6YbmjHWtcr9BYF5S3x3i/2R3iZy48dECIqtvXBiwi4P0iO2G5ttVMSLtiE3GkLV7W9gOcvz3lH+22bqjjuN96uQgu5XFNOqRn/MiuICg5g4IcxqMsA59KCRoBByJI9/RTKEcvZf9kcQMe/awfjwk/Baze6FmqoJVxFy53OBc4Zj+xoPdoImLF3vs4dRIQ11jADOMhqr0va3dpSUA4Ix894poucxiK2feQ/dh/GCM4GEbYf2uQe0hmmsYHfl7L9Rb7l/eKSBZzYp059HTC9Ys2shlLKFimOozoVucfrlyUP3vrHX8wF4bILbmJUfJQQTAwD41WSyzzwHNGFRwW/7dpmLmLZAFTLkzgFdWhmLB8xJ8usLSyAxDrqw5UZr8E+1+8aNekzZ1+RZcwXzTZgmas51Zf2UoorX6dxZfAOknRdlgUhx9TRjs3w7J3XQyjIp2j0=
file:
- ios/com.testfairy.titestfairy-iphone-${TRAVIS_TAG}.zip
- android/dist/com.testfairy.titestfairy-android-${TRAVIS_TAG}.zip
skip_cleanup: true
on:
tags: true
all_branches: true