1
0
mirror of https://github.com/ultrasonic/ultrasonic synced 2025-01-23 21:41:38 +01:00
ultrasonic-app-subsonic-and.../.circleci/config.yml
Yahor Berdnikau 5227897580 Add detekt job to CI config.
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2017-07-30 22:26:47 +02:00

28 lines
732 B
YAML

version: 2
jobs:
build:
docker:
- image: circleci/android:api-26-alpha
working_directory: ~/ultrasonic
envoronment:
JVM_OPTS: -Xmx3200m
steps:
- checkout
- restore_cache:
key: gradle-cache-{{ checksum "dependencies.gradle" }}
- run:
name: checkstyle
command: ./gradlew -Pqc ktlintCheck
- run:
name: build
command: ./gradlew assembleDebug
- run:
name: unit-tests
command: ./gradlew test
- run:
name: static analysis
command: ./gradlew -Pqc detektCheck
- save_cache:
paths:
- ~/.gradle
key: gradle-cache-{{ checksum "dependencies.gradle" }}