Merge pull request #15 from ultrasonic/add-circle-ci

Add CircleCI config.
This commit is contained in:
Yahor Berdnikau 2017-07-30 16:16:00 +02:00 committed by GitHub
commit 61de665997
2 changed files with 27 additions and 0 deletions

25
.circleci/config.yml Normal file
View 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" }}

View File

@ -1,4 +1,6 @@
# Ultrasonic
[![Build Status](https://circleci.com/gh/ultrasonic/ultrasonic/tree/develop.svg?style=shield&circle-token=:circle-token)](https://circleci.com/gh/ultrasonic)
Subsonic Music Streamer Android client
## About project status