Skip to content

Commit

Permalink
circle
Browse files Browse the repository at this point in the history
  • Loading branch information
sephiroth74 committed Nov 23, 2018
1 parent de845ba commit 1699bb1
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .circleci/config.yml
@@ -0,0 +1,31 @@
version: 2
jobs:
build:
working_directory: ~/code
docker:
- image: circleci/android:api-28
environment:
JVM_OPTS: -Xmx3200m
steps:
- checkout
- restore_cache:
key: jars-{{ checksum "build.gradle" }}-{{ checksum "app/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 "app/build.gradle" }}
- run:
name: Run Tests
command: ./gradlew lint connectedAndroidTest
- store_artifacts:
path: app/build/reports
destination: reports
- store_test_results:
path: app/build/test-results
# See https://circleci.com/docs/2.0/deployment-integrations/ for deploy examples
1 change: 1 addition & 0 deletions .gitignore
Expand Up @@ -25,3 +25,4 @@ proguard/
.idea/
android-target-tooltip.iml
*.iml
.gradletasknamecache

0 comments on commit 1699bb1

Please sign in to comment.