Add detekt job to CI config.

Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
This commit is contained in:
Yahor Berdnikau 2017-07-30 22:26:41 +02:00
parent 317ccd2ed8
commit 5227897580
1 changed files with 3 additions and 0 deletions

View File

@ -19,6 +19,9 @@ jobs:
- run: - run:
name: unit-tests name: unit-tests
command: ./gradlew test command: ./gradlew test
- run:
name: static analysis
command: ./gradlew -Pqc detektCheck
- save_cache: - save_cache:
paths: paths:
- ~/.gradle - ~/.gradle