Commit 583cc45b authored by Varun Patil's avatar Varun Patil Committed by GitHub

Setup automatic lint with CircleCI (#224)

* Create config.yml

* Update config.yml

* Update config.yml
parent 9a761368
version: 2
jobs:
build:
working_directory: ~/code
docker:
- image: circleci/android:api-28-alpha
environment:
JVM_OPTS: -Xmx3200m
steps:
- checkout
- restore_cache:
key: jars-{{ checksum "build.gradle" }}-{{ checksum "app/build.gradle" }}
- run:
name: Download Dependencies
command: ./gradlew androidDependencies
- save_cache:
paths:
- ~/.gradle
key: jars-{{ checksum "build.gradle" }}-{{ checksum "app/build.gradle" }}
- run:
name: Run Lint
command: ./gradlew lint
- store_artifacts:
path: app/build/reports
destination: reports
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment