machine:
  timezone: Asia/Tokyo
  environment:
    XCODE_SCHEME: TiCircleCITest
    XCODE_PROJECT: TiCircleCITest.xcodeproj
    ANDROID_HOME: /usr/local/opt/android-sdk

dependencies:
  pre:
    - brew install n scons android-sdk
    - n 4.4.5
    - npm install -g titanium tisdk
    - tisdk build 5.2.2.GA --force

test:
  override:
    - echo Hello World
    - which node
    - which ti
    - ti info
    - ti build -p ios -b

machine:
  timezone: Asia/Tokyo
  environment:
    XCODE_SCHEME: TiCircleCITest
    XCODE_PROJECT: TiCircleCITest.xcodeproj
    ANDROID_HOME: /usr/local/opt/android-sdk
    ANDROID_SDK: /usr/local/opt/android-sdk
    ANDROID_NDK: /usr/local/opt/android-ndk
    ANDROID_PLATFORM: /usr/local/opt/android-sdk/platforms/android-23
    GOOGLE_APIS: /usr/local/opt/android-sdk/add-ons/addon-google_apis-google-23
    JAVA_HOME: $(/usr/libexec/java_home -v $1)
    PATH: /usr/local/opt/android-sdk/tools:/usr/local/opt/android-sdk/platform-tools:$JAVA_HOME/bin:$PATH

dependencies:
  pre:
    - brew install n scons android-sdk android-ndk
    - n 4.4.5
    - npm install -g titanium tisdk
    - tisdk build 5.2.2.GA --force

test:
  override:
    - echo Hello World
    - which node
    - which ti
    - ti info
    - ti build -p ios -b

Add environment for tisdk build
Add environment for tisdk build
