From d101b760944a826ba0e7bf3b747c3f10e1c1cdf9 Mon Sep 17 00:00:00 2001 From: Armel S Date: Sun, 25 Jun 2017 15:28:48 +0200 Subject: [PATCH] [CI][Circle] Add CircleCI config --- circle.yml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 circle.yml diff --git a/circle.yml b/circle.yml new file mode 100644 index 00000000..87bae940 --- /dev/null +++ b/circle.yml @@ -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