Advertisement
Guest User

Untitled

a guest
Jun 24th, 2019
66
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.89 KB | None | 0 0
  1. version: 2
  2. jobs:
  3. build:
  4. working_directory: ~/code
  5. docker:
  6. - image: circleci/android:api-28
  7. environment:
  8. JVM_OPTS: -Xmx3200m
  9. steps:
  10. - checkout
  11. - restore_cache:
  12. key: jars-{{ checksum "build.gradle" }}-{{ checksum "app/build.gradle" }}
  13. # - run:
  14. # name: Chmod permissions #if permission for Gradlew Dependencies fail, use this.
  15. # command: sudo chmod +x ./gradlew
  16. - run:
  17. name: Download Dependencies
  18. command: ./gradlew androidDependencies
  19. - save_cache:
  20. paths:
  21. - ~/.gradle
  22. key: jars-{{ checksum "build.gradle" }}-{{ checksum "app/build.gradle" }}
  23. - run:
  24. name: Run Tests
  25. command: ./gradlew lint test
  26. - store_artifacts:
  27. path: app/build/reports
  28. destination: reports
  29. - store_test_results:
  30. path: app/build/test-results
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement