react-native-navigation的迁移库

.travis.yml 1.9KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. os: osx
  2. osx_image: xcode8.3
  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. - CODE_SIGNING_REQUIRED=NO
  11. branches:
  12. only:
  13. - master
  14. - v2
  15. cache:
  16. directories:
  17. - $YARN_CACHE
  18. - $HOME/.m2
  19. install:
  20. # node:
  21. - curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.1/install.sh | bash
  22. - export NVM_DIR="$HOME/.nvm" && [ -s "$NVM_DIR/nvm.sh" ] && . "$NVM_DIR/nvm.sh"
  23. - nvm install $NODE_VERSION
  24. - nvm use $NODE_VERSION
  25. # yarn:
  26. - curl -o- -L https://yarnpkg.com/install.sh | bash
  27. - yarn config set cache-folder $YARN_CACHE
  28. # android sdk:
  29. - ./scripts/installAndroidSDK.sh
  30. # android emulator:
  31. #- echo yes | android update sdk --no-ui --all --filter "sys-img-armeabi-v7a-google_apis-25"
  32. #- echo no | android create avd --name AVD -t android-25 --abi google_apis/armeabi-v7a
  33. #- android list avd
  34. # fbsimctl:
  35. - brew tap facebook/fb && brew install fbsimctl
  36. script:
  37. - set -e
  38. - ./scripts/travis.sh
  39. - set +e
  40. after_script:
  41. - echo "BUILD FINISHED"
  42. notifications:
  43. slack:
  44. secure: tZRC5hbi7iWy4hgWC0ET67kOKjn77945UZJEm8XeOnahVjfBL7gSpBTtyjD6D7Ah7qJTZNtK2lfItciT4gJfH4HYDVUBlLYKzVvw/9usYpEvsdAaAnpT2gMwXHEIupUYh0tv5ccvHt/SqHmK0HVTFdzGR/IztmHIcFlDcbNdTUtUg+9RUTBkO2n946UHk/I8xKhW4GefEuv4bRbm44H27G/VWcOABsMNvYA+kF7VDTjSlyJmACgG1BMbMDwn6lM6c7HLhVbQi52Oyt9E3dz0o1/puWldq60jiESsay99CrAr4pi4LAeMu+TdQnc8QzsCd+CZBFNIk1t56ElM2aQ8w43W+IYfu1/0+w12ySOasamqyOdLJng0MXmqzVoBcfisefVuBNmx4n+yQO+qu4a3Qze/PgPeqWHF9Jy5EbVezg+lb/4m/0NK/3o2za3dJjTKJGxuCLvdCGLVEeDLw50FQxbV+k+tgeB/1jmIWymhdUteWBjBdPUqL+ntaqWuSbMjC0euOdGkR1ibfYaUy5UmBtTRkcb/AwSti9lCNdBN8Ez1qmIO4U92gN93B10fEObLjv76T7NLJQUPks/u4nCClsYRclJPDTDe/kv9HL6R6eHJGWd045r0tKtYj1WVFUlv8EvB5rIzVKCn6cjM636+enavuTzg66aRZvu8DgNqLNo=