react-native-navigation的迁移库

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. env:
  2. global:
  3. - RCT_NO_LAUNCH_PACKAGER=true
  4. jobs:
  5. include:
  6. - stage: test
  7. env: TYPE=js
  8. os: linux
  9. language: generic
  10. script:
  11. - ./scripts/travis-fold.sh "npm run test-js"
  12. - stage: test
  13. env: TYPE=iOS
  14. os: osx
  15. osx_image: xcode9
  16. language: objective-c
  17. before_install:
  18. - source ./scripts/env/env.ios.sh
  19. script:
  20. - ./scripts/travis-fold.sh "npm run test-unit-ios -- --release"
  21. - ./scripts/travis-fold.sh "npm run test-e2e-ios -- --release"
  22. - stage: test
  23. env: TYPE=Android
  24. os: linux
  25. jdk: oraclejdk8
  26. language: java
  27. before_install:
  28. - source ./scripts/env/env.android.sh
  29. script:
  30. - ./scripts/travis-fold.sh "npm run test-unit-android -- --release"
  31. - ./scripts/travis-fold.sh "npm run test-e2e-android -- --release"
  32. before_cache:
  33. - rm -f $HOME/.gradle/caches/modules-2/modules-2.lock
  34. - rm -fr $HOME/.gradle/caches/*/plugin-resolution/
  35. cache:
  36. directories:
  37. - $HOME/.m2
  38. - $HOME/.gradle/caches/
  39. - $HOME/.gradle/wrapper/
  40. - $HOME/.android/build-cache
  41. - stage: deploy
  42. env: TYPE=deploy
  43. os: linux
  44. language: generic
  45. script:
  46. - ./scripts/travis-fold.sh "npm run release"
  47. branches:
  48. only:
  49. - master
  50. - v2
  51. install:
  52. - nvm install 8
  53. - ./scripts/travis-fold.sh "npm install"
  54. - ./scripts/travis-fold.sh "npm run clean"
  55. after_script:
  56. - echo "BUILD FINISHED"
  57. notifications:
  58. slack:
  59. 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=