react-native-navigation的迁移库

.travis.yml 1.5KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. language: java
  2. jdk:
  3. - oraclejdk8
  4. env:
  5. global:
  6. - NODE_VERSION=stable
  7. - PATH=$PATH:$HOME/.yarn/bin
  8. - ANDROID_HOME=$HOME/android-sdk-linux
  9. - PATH=$PATH:$ANDROID_HOME/tools:$ANDROID_HOME/platform-tools
  10. git:
  11. depth: 3
  12. branches:
  13. only:
  14. - master
  15. - v2
  16. cache:
  17. yarn: true
  18. directories:
  19. - $HOME/.gradle/
  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. - nvm install $NODE_VERSION
  28. - curl -o- -L https://yarnpkg.com/install.sh | bash
  29. install:
  30. - ./scripts/clean.sh
  31. - yarn install
  32. script:
  33. - yarn run lint
  34. - yarn run test:js
  35. - ./scripts/installAndroidSDK.sh
  36. - yarn run test:android
  37. # - yarn run release
  38. after_script:
  39. - echo "BUILD FINISHED"
  40. notifications:
  41. email: false
  42. slack:
  43. secure: ISBdKzsYD4eas+wxLkNTFrXreWome0YmGATqgAS1R3BcZ+ZhUgZUgC9j52Ix9JUpNN52xCZ131Wbihu8w0RpuvNogFsl64q0tBplmpNfghT1EAO85w7ZBgHpAi1fxsxUSLlO5fCKv4kX84yksyG7mBxr9tR97gVDl3chWqEUCh1Wd+dx+R0RkJpTQ+VmME5Jmywr2F1Lv1TlxGXs4yN8wlnix/V6ebYSI1qwAWjAk8nHPIGdYxNivcwkmzenkbQuHAZpI6uxWJ+Hpx+wn69sZXarXVg3M20A8dv6DiWsd7gZUQaeX+gJa1HrAxjjEl6fiJZC9Zuq1aZmMAy0EHBIN4EuRpPgDG5CzEE9/yfHEBvXbKDF2Uk2aLN3LHY+7Q8SAL6ckGJ9eSp0fu68SFYUq4YoyV1jAx7/1teWzFORSEPx/1kDYoUSqhyIojcC0FcLVvY77Ij23cN3bR+hY4mLeuyajHjl6pm5jS+iiiJgM55+H9mP+v1XhLj/Me+giDP1bBqvfL4BshwXElZ5pjEeUMnEEbfMQkHUpQ5c9/PZVrIuNal4JUYi649wVUltoan9Zm8s4AkX2p0aY5ZMy0gel2ADeyGUk+u262Jt17k31nzcpGwAXSAYNdFHJCnga8kHn2eKYPO76qpb4JlOH1kQ33oNIur9/MYvx8CeZdJBd64=