react-native-navigation的迁移库

.travis.yml 2.2KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. os: osx
  2. osx_image: xcode8.1
  3. env:
  4. global:
  5. - NODE_VERSION=stable
  6. - PATH=$PATH:$HOME/.yarn/bin
  7. - ANDROID_HOME=$HOME/android-sdk-macosx
  8. - PATH=$PATH:$ANDROID_HOME/tools:$ANDROID_HOME/platform-tools
  9. - YARN_CACHE=$HOME/.yarn-cache
  10. branches:
  11. only:
  12. - master
  13. - v2
  14. cache:
  15. directories:
  16. - $YARN_CACHE
  17. - $HOME/.gradle/caches/
  18. - $HOME/.gradle/wrapper/
  19. - $HOME/.gradle/nodejs/
  20. - $HOME/.android/build-cache
  21. - node_modules
  22. - $HOME/.m2
  23. - $ANDROID_HOME/licenses/
  24. - $HOME/Library/Caches/Homebrew
  25. - /usr/local/Cellar
  26. before_cache:
  27. - rm -rf $HOME/.gradle/caches/modules-2/modules-2.lock
  28. - rm -rf $HOME/.gradle/caches/*/plugin-resolution/
  29. install:
  30. # node
  31. - curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.1/install.sh | bash
  32. - export NVM_DIR="$HOME/.nvm" && [ -s "$NVM_DIR/nvm.sh" ] && . "$NVM_DIR/nvm.sh"
  33. - nvm install $NODE_VERSION
  34. - nvm use $NODE_VERSION
  35. # yarn
  36. - curl -o- -L https://yarnpkg.com/install.sh | bash
  37. - yarn config set cache-folder $YARN_CACHE
  38. # android sdk
  39. - ./scripts/installAndroidSDK.sh
  40. # android emulator
  41. #- echo yes | android update sdk --no-ui --all --filter "sys-img-armeabi-v7a-google_apis-25"
  42. #- echo no | android create avd --name AVD -t android-25 --abi google_apis/armeabi-v7a
  43. #- android list avd
  44. # fbsimctl
  45. - brew tap facebook/fb && brew install fbsimctl
  46. script:
  47. - set -e
  48. - ./scripts/travis.sh
  49. - set +e
  50. after_script:
  51. - echo "BUILD FINISHED"
  52. notifications:
  53. slack:
  54. secure: SjvEQzfbIer3I88UARe7vlARAFkbCRuosrf2EhsUih17SKtpFuFj8BB+0U89xSxt8QmS4KiuIhj67TOGWnM7GDhy0S0rZCxgYD3VU2zm7cTobWueFvZ0zLFkTqa/8xi9+sZ5Xd1OU4aHGgpfONe34O9qbRP61YR5haJYYFWqVUQb0j6Z60MnvSm2kJJkjPx8iuOTiKoEgfZV3qVziKAN9oKVZsSUpp72cYQJeieKEdSwIBYTFt/G4RuxPxQ5uvGih3qTZBls66P3rydSHR73VbkXSi7edDhPYAhPEKMPidC/nN4UqHJNaGB9ua65LHlOXX7/K/frC/D5//WNnVLOuXHL7AXPZRKQsHwTdA2vjDT2NKvQfPBRVp47tEpQdTa7BHcLjhhJgpPoOVWumjoiD98JToI8Hd23V9OCAFYEkVe14Sr7HFWIm49PoxP6w89aGuYVLY39OJ9SmUbktOY1RYeXrp8sUa/wAxoH1u+W344zVrvAuknd0nx33iycwkKSnPDMGUOviN21XbYqQTLn5ob9rxsNBr/tAkXo9HTcZYqAJZZXX9lIUjEvZ1CU+xv1fxH4zfDWct/U5V6kKsv8pYpLqdZMaR/az02hfxD+tbQaoh1dl9KY5z8PYTMZW9SLqEpcSBevKo+JRyKpMok8Pld8RvtCUarfcHduSmzBAJE=