react-native-navigation的迁移库

.travis.yml 1.6KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  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. cache:
  16. yarn: true
  17. directories:
  18. - $HOME/.gradle/caches/modules-2/files-2.1/
  19. - $HOME/.m2
  20. - $ANDROID_HOME/licenses/
  21. before_cache:
  22. - rm -rf $HOME/.gradle/caches/modules-2/modules-2.lock
  23. - rm -rf $HOME/.gradle/caches/*/plugin-resolution/
  24. before_install:
  25. - set -e
  26. - nvm install $NODE_VERSION
  27. - curl -o- -L https://yarnpkg.com/install.sh | bash
  28. install:
  29. - ./scripts/clean.sh
  30. - yarn install
  31. script:
  32. - yarn run lint
  33. - yarn run test:js
  34. - ./scripts/installAndroidSDK.sh
  35. - yarn run test:android
  36. - yarn run release
  37. after_script:
  38. - echo "BUILD FINISHED"
  39. notifications:
  40. email: false
  41. slack:
  42. secure: ISBdKzsYD4eas+wxLkNTFrXreWome0YmGATqgAS1R3BcZ+ZhUgZUgC9j52Ix9JUpNN52xCZ131Wbihu8w0RpuvNogFsl64q0tBplmpNfghT1EAO85w7ZBgHpAi1fxsxUSLlO5fCKv4kX84yksyG7mBxr9tR97gVDl3chWqEUCh1Wd+dx+R0RkJpTQ+VmME5Jmywr2F1Lv1TlxGXs4yN8wlnix/V6ebYSI1qwAWjAk8nHPIGdYxNivcwkmzenkbQuHAZpI6uxWJ+Hpx+wn69sZXarXVg3M20A8dv6DiWsd7gZUQaeX+gJa1HrAxjjEl6fiJZC9Zuq1aZmMAy0EHBIN4EuRpPgDG5CzEE9/yfHEBvXbKDF2Uk2aLN3LHY+7Q8SAL6ckGJ9eSp0fu68SFYUq4YoyV1jAx7/1teWzFORSEPx/1kDYoUSqhyIojcC0FcLVvY77Ij23cN3bR+hY4mLeuyajHjl6pm5jS+iiiJgM55+H9mP+v1XhLj/Me+giDP1bBqvfL4BshwXElZ5pjEeUMnEEbfMQkHUpQ5c9/PZVrIuNal4JUYi649wVUltoan9Zm8s4AkX2p0aY5ZMy0gel2ADeyGUk+u262Jt17k31nzcpGwAXSAYNdFHJCnga8kHn2eKYPO76qpb4JlOH1kQ33oNIur9/MYvx8CeZdJBd64=