mirror of
https://github.com/ultrasonic/ultrasonic
synced 2025-01-23 21:41:38 +01:00
5227897580
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
28 lines
732 B
YAML
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" }} |