Skip to content

Commit

Permalink
Add back in unit tests, ci, and other files after convdersion to new …
Browse files Browse the repository at this point in the history
…build scripts with maven publishing
  • Loading branch information
davidgyoung committed Apr 4, 2021
1 parent 99ea278 commit 24fa557
Show file tree
Hide file tree
Showing 46 changed files with 4,895 additions and 78 deletions.
33 changes: 33 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
version: 2
jobs:
build:
working_directory: ~/code
docker:
- image: circleci/android:api-25-alpha
environment:
JVM_OPTS: -Xmx3200m
steps:
- run: yes | sdkmanager --licenses || true
- run: yes | sdkmanager --update || exit 0
- checkout
- restore_cache:
key: jars-{{ checksum "build.gradle" }}-{{ checksum "./build.gradle" }}
# - run:
# name: Chmod permissions #if permission for Gradlew Dependencies fail, use this.
# command: sudo chmod +x ./gradlew
- run:
name: Download Dependencies
command: ./gradlew androidDependencies
- save_cache:
paths:
- ~/.gradle
key: jars-{{ checksum "build.gradle" }}-{{ checksum "./build.gradle" }}
- run:
name: Run Tests
command: ./gradlew test
- store_artifacts:
path: ./build/reports
destination: reports
- store_test_results:
path: ./build/test-results
# See https://circleci.com/docs/2.0/deployment-integrations/ for deploy examples
Loading

0 comments on commit 24fa557

Please sign in to comment.