12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152 |
- os: osx
- osx_image: xcode8.3
-
- env:
- global:
- - NODE_VERSION=stable
- - PATH=$PATH:$HOME/.yarn/bin
- - ANDROID_HOME=$HOME/android-sdk-macosx
- - PATH=$PATH:$ANDROID_HOME/tools:$ANDROID_HOME/platform-tools
- - YARN_CACHE=$HOME/.yarn-cache
-
- branches:
- only:
- - master
- - v2
-
- cache:
- directories:
- - $YARN_CACHE
- - $HOME/.m2
-
- install:
- # node
- - curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.1/install.sh | bash
- - export NVM_DIR="$HOME/.nvm" && [ -s "$NVM_DIR/nvm.sh" ] && . "$NVM_DIR/nvm.sh"
- - nvm install $NODE_VERSION
- - nvm use $NODE_VERSION
- # yarn
- - curl -o- -L https://yarnpkg.com/install.sh | bash
- - yarn config set cache-folder $YARN_CACHE
- # android sdk
- - ./scripts/installAndroidSDK.sh
- # android emulator
- #- echo yes | android update sdk --no-ui --all --filter "sys-img-armeabi-v7a-google_apis-25"
- #- echo no | android create avd --name AVD -t android-25 --abi google_apis/armeabi-v7a
- #- android list avd
- # fbsimctl
- - brew tap facebook/fb && brew install fbsimctl
-
- script:
- - set -e
- - ./scripts/travis.sh
- - set +e
-
- after_script:
- - echo "BUILD FINISHED"
-
- notifications:
- slack:
- secure: SjvEQzfbIer3I88UARe7vlARAFkbCRuosrf2EhsUih17SKtpFuFj8BB+0U89xSxt8QmS4KiuIhj67TOGWnM7GDhy0S0rZCxgYD3VU2zm7cTobWueFvZ0zLFkTqa/8xi9+sZ5Xd1OU4aHGgpfONe34O9qbRP61YR5haJYYFWqVUQb0j6Z60MnvSm2kJJkjPx8iuOTiKoEgfZV3qVziKAN9oKVZsSUpp72cYQJeieKEdSwIBYTFt/G4RuxPxQ5uvGih3qTZBls66P3rydSHR73VbkXSi7edDhPYAhPEKMPidC/nN4UqHJNaGB9ua65LHlOXX7/K/frC/D5//WNnVLOuXHL7AXPZRKQsHwTdA2vjDT2NKvQfPBRVp47tEpQdTa7BHcLjhhJgpPoOVWumjoiD98JToI8Hd23V9OCAFYEkVe14Sr7HFWIm49PoxP6w89aGuYVLY39OJ9SmUbktOY1RYeXrp8sUa/wAxoH1u+W344zVrvAuknd0nx33iycwkKSnPDMGUOviN21XbYqQTLn5ob9rxsNBr/tAkXo9HTcZYqAJZZXX9lIUjEvZ1CU+xv1fxH4zfDWct/U5V6kKsv8pYpLqdZMaR/az02hfxD+tbQaoh1dl9KY5z8PYTMZW9SLqEpcSBevKo+JRyKpMok8Pld8RvtCUarfcHduSmzBAJE=
-
|