From 4f4e977604ee8d8064b1ff00a6778c736f45089a Mon Sep 17 00:00:00 2001 From: jenly1314 Date: Mon, 1 Jul 2019 15:32:26 +0800 Subject: [PATCH] CI --- .circleci/config.yml | 27 ++++++++++++++++++++++++++ .idea/caches/build_file_checksums.ser | Bin 650 -> 650 bytes README.md | 3 ++- 3 files changed, 29 insertions(+), 1 deletion(-) create mode 100644 .circleci/config.yml diff --git a/.circleci/config.yml b/.circleci/config.yml new file mode 100644 index 0000000..9dbb701 --- /dev/null +++ b/.circleci/config.yml @@ -0,0 +1,27 @@ +version: 2 +jobs: + build: + working_directory: ~/code + docker: + - image: circleci/android:api-28 + environment: + JVM_OPTS: -Xmx3200m + steps: + - checkout + - restore_cache: + key: jars-{{ checksum "build.gradle" }}-{{ checksum "app/build.gradle" }} + - run: + name: Download Dependencies + command: ./gradlew androidDependencies + - save_cache: + paths: + - ~/.gradle + key: jars-{{ checksum "build.gradle" }}-{{ checksum "app/build.gradle" }} + - run: + name: Run Tests + command: ./gradlew lint test + - store_artifacts: + path: app/build/reports + destination: reports + - store_test_results: + path: app/build/test-results \ No newline at end of file diff --git a/.idea/caches/build_file_checksums.ser b/.idea/caches/build_file_checksums.ser index 849e4b1205ca34e84a0a7a9189efec79f6e3470b..39f4cbf2eb9c3eb88403afbe6e3dee9265eec285 100644 GIT binary patch delta 15 XcmeBT?P8rUgJt&RI*yHV-Z26IFdGJY delta 15 XcmeBT?P8rUgJni_*5i$H-Z26IF=__q diff --git a/README.md b/README.md index 97078d4..02cf2c5 100644 --- a/README.md +++ b/README.md @@ -5,6 +5,7 @@ [![Download](https://img.shields.io/badge/download-App-blue.svg)](https://raw.githubusercontent.com/jenly1314/AppUpdater/master/app/release/app-release.apk) [![Jitpack](https://jitpack.io/v/jenly1314/AppUpdater.svg)](https://jitpack.io/#jenly1314/AppUpdater) [![CI](https://travis-ci.org/jenly1314/AppUpdater.svg?branch=master)](https://travis-ci.org/jenly1314/AppUpdater) +[![CircleCI](https://circleci.com/gh/jenly1314/AppUpdater.svg?style=svg)](https://circleci.com/gh/jenly1314/AppUpdater) [![API](https://img.shields.io/badge/API-15%2B-blue.svg?style=flat)](https://android-arsenal.com/api?level=15) [![License](https://img.shields.io/badge/license-MIT-blue.svg)](https://opensource.org/licenses/mit-license.php) [![Blog](https://img.shields.io/badge/blog-Jenly-9933CC.svg)](http://blog.csdn.net/jenly121) @@ -135,7 +136,7 @@ AppUpdater for Android 是一个专注于App更新,一键傻瓜式集成App版 ``` -更多使用示例请查看[App](app)。 +更多使用详情,请查看[app](app)中的源码使用示例或直接查看[API帮助文档](https://jenly1314.github.io/projects/AppUpdater/doc/) ## 版本记录