CI: added lint task.

Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
This commit is contained in:
Yahor Berdnikau 2017-07-31 22:46:37 +02:00
parent 438af4de7e
commit e7953a10e0
1 changed files with 7 additions and 1 deletions

View File

@ -19,10 +19,16 @@ jobs:
- run:
name: unit-tests
command: ./gradlew test
- run:
name: lint
command: ./gradlew lint
- run:
name: static analysis
command: ./gradlew -Pqc detektCheck
- save_cache:
paths:
- ~/.gradle
key: gradle-cache-{{ checksum "dependencies.gradle" }}
key: gradle-cache-{{ checksum "dependencies.gradle" }}
- store_artifacts:
path: ultrasonic/build/reports
destination: reports