react-native-navigation的迁移库

.travis.yml 784B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  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. - v2
  15. cache:
  16. directories:
  17. - $HOME/.yarn-cache
  18. - $HOME/.gradle/caches/
  19. - $HOME/.gradle/wrapper/
  20. - $HOME/.m2
  21. - $ANDROID_HOME/licenses/
  22. before_cache:
  23. - rm -rf $HOME/.gradle/caches/modules-2/modules-2.lock
  24. - rm -rf $HOME/.gradle/caches/*/plugin-resolution/
  25. before_install:
  26. - set -e
  27. - ./scripts/clean.sh
  28. install:
  29. - nvm install $NODE_VERSION
  30. - npm i -g yarn
  31. - yarn
  32. script:
  33. - yarn run lint
  34. - yarn run test:js
  35. - ./scripts/installAndroidSDK.sh
  36. - yarn run test:android
  37. after_script:
  38. - echo "BUILD FINISHED"