react-native-navigation的迁移库

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