mirror of
https://github.com/ultrasonic/ultrasonic
synced 2025-01-23 13:40:30 +01:00
Add CircleCI config.
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
This commit is contained in:
parent
f1041d247d
commit
d97b7de6e2
25
.circleci/config.yml
Normal file
25
.circleci/config.yml
Normal file
@ -0,0 +1,25 @@
|
||||
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
|
||||
- save_cache:
|
||||
paths:
|
||||
- ~/.gradle
|
||||
key: gradle-cache-{{ checksum "dependencies.gradle" }}
|
Loading…
Reference in New Issue
Block a user