Skip to content

Commit

Permalink
uses new orb (#67)
Browse files Browse the repository at this point in the history
  • Loading branch information
vegaro authored Mar 15, 2021
1 parent c37ee66 commit 6b08051
Showing 1 changed file with 8 additions and 16 deletions.
24 changes: 8 additions & 16 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ version: 2.1

orbs:
android: circleci/android@0.2.1
revenuecat: revenuecat/sdks-common-config@1.0.0

executors:
android-executor:
Expand Down Expand Up @@ -45,28 +46,19 @@ jobs:

test-android:
executor: android-executor
working_directory: ~/purchases-hybrid-common/android
steps:
- checkout
- android/accept-licenses
- restore_cache:
key: jars-{{ checksum "android/build.gradle" }}
- run:
name: Download Dependencies
command: ./gradlew androidDependencies
working_directory: android
- save_cache:
paths:
- ~/.gradle
key: jars-{{ checksum "android/build.gradle" }}
- android/restore-build-cache
- checkout:
path: ~/purchases-hybrid-common
- revenuecat/prepare-android
- run:
name: Run Tests
command: ./gradlew lint test
working_directory: android
- android/save-build-cache
- store_artifacts:
path: android/build/reports
path: build/reports
- store_test_results:
path: android/build/test-results
path: build/test-results

deploy-android:
executor: android-executor
Expand Down

0 comments on commit 6b08051

Please sign in to comment.