Add assemble release step to build job.

This will check that minification of release is not broken.

Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
This commit is contained in:
Yahor Berdnikau 2018-03-18 18:13:19 +01:00
parent 7bf39ca877
commit 32990acb2a
1 changed files with 5 additions and 2 deletions

View File

@ -16,6 +16,9 @@ jobs:
- run:
name: checkstyle
command: ./gradlew -Pqc ktlintCheck
- run:
name: static analysis
command: ./gradlew -Pqc detektCheck
- run:
name: build
command: ./gradlew assembleDebug
@ -29,8 +32,8 @@ jobs:
name: lint
command: ./gradlew lint
- run:
name: static analysis
command: ./gradlew -Pqc detektCheck
name: assemble release build
command: ./gradlew assembleRelease
- save_cache:
paths:
- ~/.gradle