react-native-navigation的迁移库

.travis.yml 818B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. language: java
  2. jdk:
  3. - oraclejdk8
  4. env:
  5. global:
  6. - NODE_VERSION=stable
  7. - ANDROID_HOME=$HOME/android-sdk-linux
  8. - PATH=$PATH:$ANDROID_HOME/tools:$ANDROID_HOME/platform-tools
  9. git:
  10. depth: 3
  11. branches:
  12. only:
  13. - master
  14. cache:
  15. directories:
  16. - $HOME/.yarn-cache
  17. - $HOME/.gradle/wrapper/
  18. - $HOME/.gradle/native/
  19. - $HOME/.gradle/daemon/
  20. - $HOME/.gradle/caches/
  21. - $HOME/.m2
  22. - $ANDROID_HOME/licenses/
  23. before_cache:
  24. - rm -rf $HOME/.gradle/caches/modules-2
  25. - rm -rf $HOME/.gradle/caches/*/plugin-resolution/
  26. before_install:
  27. - set -e
  28. - ./scripts/clean.sh
  29. install:
  30. - nvm install $NODE_VERSION
  31. - npm i -g yarn
  32. - yarn
  33. script:
  34. - yarn run lint
  35. - yarn run test:js
  36. - ./scripts/installAndroidSDK.sh
  37. - yarn run test:android
  38. after_script:
  39. - echo "BUILD FINISHED"