Travis CI example for Appcelerator Titanium app
Updated version of Automated acceptance testing with Travis from Tidev.io working with Appcelerator SDK 4.0.0.GA
language: objective-c
notifications:
email:
- hazem.khaled@gmail.com
env:
matrix:
- PLATFORM="ios"
- PLATFORM="android" ANDROID_VERSION="19"
before_install:
- export ANDROID_HOME=$PWD/android-sdk-macosx
- export ANDROID_SDK=$ANDROID_HOME
- export PATH=${PATH}:${ANDROID_HOME}/tools:${ANDROID_HOME}/platform-tools
install:
- npm install -g appcelerator titanium alloy tishadow gulp
- npm install gulp underscore moment gulp-util xml2js cloudinary
- appc ti sdk install latest --no-progress-bars
- gulp 'install:android_sdk'
before_script:
- gulp 'start:emulator'
- gulp 'config:tiapp' --test
script:
- gulp 'test:calabash'
- gulp 'test:jasmine'