react-native-navigation的迁移库

.travis.yml 675B

123456789101112131415161718192021222324252627282930313233343536373839
  1. language: node_js
  2. node_js:
  3. - "node"
  4. git:
  5. depth: 3
  6. branches:
  7. only:
  8. - master
  9. - v2
  10. cache:
  11. yarn: true
  12. directories:
  13. - $HOME/.gradle/caches/
  14. - $HOME/.gradle/wrapper/
  15. - $HOME/.m2
  16. - $ANDROID_HOME/licenses
  17. before_cache:
  18. - rm -rf $HOME/.gradle/caches/modules-2/modules-2.lock
  19. - rm -rf $HOME/.gradle/caches/*/plugin-resolution/
  20. before_install:
  21. - set -e
  22. - export ANDROID_HOME=$HOME/android-sdk-linux
  23. - export PATH=$PATH:$ANDROID_HOME/tools:$ANDROID_HOME/platform-tools
  24. - ./scripts/clean.sh
  25. script:
  26. - yarn run lint
  27. - yarn run test:js
  28. - ./scripts/installAndroidSDK.sh
  29. - yarn run test:android
  30. after_script:
  31. - echo "BUILD FINISHED"