react-native-navigation的迁移库

123456789101112131415161718192021222324252627282930313233
  1. language: node_js
  2. node_js:
  3. - "node"
  4. git:
  5. depth: 3
  6. branches:
  7. only:
  8. - master
  9. cache:
  10. directories:
  11. - $HOME/.yarn-cache
  12. before_install:
  13. - set -e
  14. - ./scripts/clean.sh
  15. install:
  16. #- npm i -g yarn
  17. #- yarn
  18. - ./scripts/installAndroidSDK.sh
  19. - export ANDROID_HOME=$HOME/android-sdk-linux
  20. - export PATH=$PATH:$ANDROID_HOME/tools:$ANDROID_HOME/platform-tools
  21. script:
  22. #- npm run test
  23. - cd android && ./gradlew clean testDebugUnitTest
  24. after_script:
  25. - echo "BUILD FINISHED"