react-native-navigation的迁移库

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  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"