react-native-navigation的迁移库

.travis.yml 1.8KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. language: objective-c
  2. os: osx
  3. osx_image: xcode8.1
  4. env:
  5. global:
  6. - NODE_VERSION=stable
  7. - PATH=$PATH:$HOME/.yarn/bin
  8. - ANDROID_HOME=$HOME/android-sdk-macosx
  9. - PATH=$PATH:$ANDROID_HOME/tools:$ANDROID_HOME/platform-tools
  10. - YARN_CACHE=$HOME/.yarn-cache
  11. git:
  12. depth: 10
  13. branches:
  14. only:
  15. - master
  16. - v2
  17. cache:
  18. directories:
  19. - $YARN_CACHE
  20. - $HOME/.gradle/
  21. - $HOME/.m2
  22. - $ANDROID_HOME/licenses/
  23. before_cache:
  24. - rm -rf $HOME/.gradle/caches/modules-2/modules-2.lock
  25. - rm -rf $HOME/.gradle/caches/*/plugin-resolution/
  26. before_install:
  27. - brew update
  28. - brew cask install java
  29. - touch ~/.nvmrc
  30. - rm -rf ~/.nvm
  31. - git clone https://github.com/creationix/nvm.git ~/.nvm
  32. - source ~/.nvm/nvm.sh
  33. - nvm install $NODE_VERSION
  34. - curl -o- -L https://yarnpkg.com/install.sh | bash
  35. - yarn cache dir
  36. install:
  37. - set -e
  38. - ./scripts/clean.sh
  39. - yarn install
  40. script:
  41. - yarn run lint
  42. - yarn run test-js
  43. - ./scripts/installAndroidSDK.sh
  44. - yarn run test-android
  45. - yarn run release
  46. after_script:
  47. - echo "BUILD FINISHED"
  48. notifications:
  49. email: false
  50. slack:
  51. secure: SjvEQzfbIer3I88UARe7vlARAFkbCRuosrf2EhsUih17SKtpFuFj8BB+0U89xSxt8QmS4KiuIhj67TOGWnM7GDhy0S0rZCxgYD3VU2zm7cTobWueFvZ0zLFkTqa/8xi9+sZ5Xd1OU4aHGgpfONe34O9qbRP61YR5haJYYFWqVUQb0j6Z60MnvSm2kJJkjPx8iuOTiKoEgfZV3qVziKAN9oKVZsSUpp72cYQJeieKEdSwIBYTFt/G4RuxPxQ5uvGih3qTZBls66P3rydSHR73VbkXSi7edDhPYAhPEKMPidC/nN4UqHJNaGB9ua65LHlOXX7/K/frC/D5//WNnVLOuXHL7AXPZRKQsHwTdA2vjDT2NKvQfPBRVp47tEpQdTa7BHcLjhhJgpPoOVWumjoiD98JToI8Hd23V9OCAFYEkVe14Sr7HFWIm49PoxP6w89aGuYVLY39OJ9SmUbktOY1RYeXrp8sUa/wAxoH1u+W344zVrvAuknd0nx33iycwkKSnPDMGUOviN21XbYqQTLn5ob9rxsNBr/tAkXo9HTcZYqAJZZXX9lIUjEvZ1CU+xv1fxH4zfDWct/U5V6kKsv8pYpLqdZMaR/az02hfxD+tbQaoh1dl9KY5z8PYTMZW9SLqEpcSBevKo+JRyKpMok8Pld8RvtCUarfcHduSmzBAJE=