react-native-navigation的迁移库

.travis.yml 679B

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