Skip to content

Commit

Permalink
[CI][Circle] Add CircleCI config
Browse files Browse the repository at this point in the history
  • Loading branch information
rm3l committed Jun 25, 2017
1 parent 3bcaea8 commit d101b76
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions circle.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
version: 2
jobs:
build:
working_directory: ~/code
docker:
- image: circleci/android:api-25-alpha
environment:
JVM_OPTS: -Xmx3200m
steps:
- checkout
- restore_cache:
key: jars-{{ checksum "build.gradle" }}-{{ checksum "maoni-sample/build.gradle" }}
- run:
name: Download Dependencies
command: ./gradlew androidDependencies
- save_cache:
paths:
- ~/.gradle
key: jars-{{ checksum "build.gradle" }}-{{ checksum "maoni-sample/build.gradle" }}
- run:
name: Run Tests
command: ./gradlew lint test
- store_artifacts:
path: maoni-sample/build/reports
destination: reports
- store_test_results:
path: maoni-sample/build/test-results

0 comments on commit d101b76

Please sign in to comment.