react-native-navigation的迁移库

.travis.yml 2.2KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  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. if: NOT type = pull_request
  43. env: TYPE=deploy
  44. os: linux
  45. language: generic
  46. script:
  47. - ./scripts/travis-fold.sh "npm run release"
  48. branches:
  49. only:
  50. - master
  51. - v2
  52. install:
  53. - nvm install 8
  54. - ./scripts/travis-fold.sh "npm install"
  55. - ./scripts/travis-fold.sh "npm run clean"
  56. after_script:
  57. - echo "BUILD FINISHED"
  58. notifications:
  59. slack:
  60. 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=