react-native-navigation的迁移库

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  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. - brew install ffmpeg --with-ffplay
  21. # - ./scripts/travis-fold.sh "npm run test-unit-ios -- --release"
  22. - ./scripts/travis-fold.sh "npm run test-e2e-ios -- --release"
  23. # - stage: test
  24. # env: TYPE=Android
  25. # os: linux
  26. # jdk: oraclejdk8
  27. # language: java
  28. # before_install:
  29. # - source ./scripts/env/env.android.sh
  30. # script:
  31. # - ./scripts/travis-fold.sh "npm run test-unit-android -- --release"
  32. # - ./scripts/travis-fold.sh "npm run test-e2e-android -- --release"
  33. # before_cache:
  34. # - rm -f $HOME/.gradle/caches/modules-2/modules-2.lock
  35. # - rm -fr $HOME/.gradle/caches/*/plugin-resolution/
  36. # cache:
  37. # directories:
  38. # - $HOME/.m2
  39. # - $HOME/.gradle/caches/
  40. # - $HOME/.gradle/wrapper/
  41. # - $HOME/.android/build-cache
  42. # - stage: deploy
  43. # if: NOT type = pull_request
  44. # env: TYPE=deploy
  45. # os: linux
  46. # language: generic
  47. # script:
  48. # - ./scripts/travis-fold.sh "npm run release"
  49. branches:
  50. only:
  51. - master
  52. - v2
  53. install:
  54. - nvm install 8
  55. - ./scripts/travis-fold.sh "npm install"
  56. - ./scripts/travis-fold.sh "npm run clean"
  57. after_script:
  58. - echo "BUILD FINISHED"
  59. notifications:
  60. slack:
  61. 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=