react-native-navigation的迁移库

.travis.yml 1.6KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  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. git:
  10. depth: 10
  11. branches:
  12. only:
  13. - master
  14. - v2
  15. cache:
  16. yarn: true
  17. directories:
  18. - $HOME/.gradle/
  19. - $HOME/.m2
  20. - $ANDROID_HOME/licenses/
  21. before_cache:
  22. - rm -rf $HOME/.gradle/caches/modules-2/modules-2.lock
  23. - rm -rf $HOME/.gradle/caches/*/plugin-resolution/
  24. before_install:
  25. - set -e
  26. - brew update
  27. - brew cask install java
  28. - nvm install $NODE_VERSION
  29. - curl -o- -L https://yarnpkg.com/install.sh | bash
  30. install:
  31. - ./scripts/clean.sh
  32. - yarn install
  33. script:
  34. - yarn run lint
  35. - yarn run test-js
  36. - ./scripts/installAndroidSDK.sh
  37. - yarn run test-android
  38. - yarn run release
  39. after_script:
  40. - echo "BUILD FINISHED"
  41. notifications:
  42. email: false
  43. slack:
  44. secure: SjvEQzfbIer3I88UARe7vlARAFkbCRuosrf2EhsUih17SKtpFuFj8BB+0U89xSxt8QmS4KiuIhj67TOGWnM7GDhy0S0rZCxgYD3VU2zm7cTobWueFvZ0zLFkTqa/8xi9+sZ5Xd1OU4aHGgpfONe34O9qbRP61YR5haJYYFWqVUQb0j6Z60MnvSm2kJJkjPx8iuOTiKoEgfZV3qVziKAN9oKVZsSUpp72cYQJeieKEdSwIBYTFt/G4RuxPxQ5uvGih3qTZBls66P3rydSHR73VbkXSi7edDhPYAhPEKMPidC/nN4UqHJNaGB9ua65LHlOXX7/K/frC/D5//WNnVLOuXHL7AXPZRKQsHwTdA2vjDT2NKvQfPBRVp47tEpQdTa7BHcLjhhJgpPoOVWumjoiD98JToI8Hd23V9OCAFYEkVe14Sr7HFWIm49PoxP6w89aGuYVLY39OJ9SmUbktOY1RYeXrp8sUa/wAxoH1u+W344zVrvAuknd0nx33iycwkKSnPDMGUOviN21XbYqQTLn5ob9rxsNBr/tAkXo9HTcZYqAJZZXX9lIUjEvZ1CU+xv1fxH4zfDWct/U5V6kKsv8pYpLqdZMaR/az02hfxD+tbQaoh1dl9KY5z8PYTMZW9SLqEpcSBevKo+JRyKpMok8Pld8RvtCUarfcHduSmzBAJE=