language: android cache: directories: - "$HOME/.gradle/caches/" - "$HOME/.gradle/wrapper/" - "$HOME/.m2" - "$HOME/.cache" before_install: - export TRAVIS_GIT_BRANCH=$(if [ "$TRAVIS_PULL_REQUEST" == "false" ]; then echo $TRAVIS_BRANCH; else echo $TRAVIS_PULL_REQUEST_BRANCH; fi) - export GIT_SHA=$(git rev-parse HEAD) - export GIT_MERGE_BASE=$(git merge-base master) - echo GIT_SHA $GIT_SHA - echo GIT_MERGE_BASE $GIT_MERGE_BASE after_success: - ./deploy_snapshot.sh android: components: - tools - platform-tools - tools - build-tools-28.0.2 - android-28 - extra-android-m2repository jdk: - oraclejdk8 branches: except: - gh-pages notifications: email: false jobs: include: - stage: test name: Test script: "./gradlew lintRelease testReleaseUnitTest" env: global: - secure: "qwyZvwZi7qxgur2t6JdJtifQ5aVyADVA/egrF1zeKmeuaE5a+tHWP7F7hDaj8q7Q4GJQrEOcoCsIBEgn8ziwkt8FKEw2PglnnISkzTl4BbEhIAH2+jmkAn3OyWkGgD3HsGrwEKQ+Q7hzKjzYZhn/amXMrW2PqnmWY3daN8tqjqKk3aNMn+pB+J1Ecs/sWwFCJcwGmugFDctgJ1TvS/nM8TmNWDdyc2YOLYbu7wF3WIRAUHOmaFbaMC/7EdMTmPKxGQr9PXFqGG8m6RN8p8yeORqybAis6bYJy23slVv6Tq00fVfULqNw61kgKQghaWy12P+GHKzpRFfuYoF3LJPlEcO9jEzSBKfYVbPkr6u0hZD6YfXgTC+temzIE8ETNyQag8sHHm154jYYxK421Jp2G2ptniXO4sDmk9KAgY+z4tmjms2tTQc074uBVHFobGDbUXYSO/SDPJt3eGBgh3VQxOHpMPD730PLB7sy/mHpXD3uHBDiAeUjGbvlZilRGyl0HFIPAPayNbzXQ1PQ0vdR8kPqyvVCtgdEbH+1NSWqJTKtUzMEu/av8uHr1gXeNxwV80ANWg+5H6FrZ0WxM3QSCfpRubISmNL5135fLq80vdXtANxjRIhQi+b5QoOj5W4PZ2wQGRAf7RTk6zKUk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