Skip to content

Commit b0e73d0

Browse files
committed
Merge branch 'feature/ci' into develop
2 parents c9945b1 + 37c6e56 commit b0e73d0

File tree

2 files changed

+34
-0
lines changed

2 files changed

+34
-0
lines changed

.travis.yml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
language: android
2+
dist: trusty
3+
android:
4+
components:
5+
# Uncomment the lines below if you want to
6+
# use the latest revision of Android SDK Tools
7+
# - tools
8+
# - platform-tools
9+
10+
# The BuildTools version used by your project
11+
- build-tools-29.0.2
12+
13+
# The SDK version used to compile your project
14+
- android-29
15+
16+
# Additional components
17+
- extra-google-google_play_services
18+
- extra-google-m2repository
19+
- extra-android-m2repository
20+
21+
# Specify at least one system image,
22+
# if you need to run emulator(s) during your tests
23+
- sys-img-x86-android-21
24+
before_script:
25+
- touch local.properties
26+
script:
27+
- ./gradlew clean build jacocoTestReleaseUnitTestReport
28+
after_success:
29+
- bash <(curl -s https://codecov.io/bash)

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
Compressor
22
======
33
[![Android Arsenal](https://img.shields.io/badge/Android%20Arsenal-Compressor-blue.svg?style=flat)](http://android-arsenal.com/details/1/3758)
4+
[![Build Status](https://travis-ci.org/zetbaitsu/Compressor.svg?branch=master)](https://travis-ci.org/zetbaitsu/Compressor)
5+
[![codecov](https://codecov.io/gh/zetbaitsu/Compressor/branch/master/graph/badge.svg)](https://codecov.io/gh/zetbaitsu/Compressor)
46
<p align="center"><img src="https://raw.githubusercontent.com/zetbaitsu/Compressor/master/ss.png" width="50%" /></p>
57
Compressor is a lightweight and powerful android image compression library. Compressor will allow you to compress large photos into smaller sized photos with very less or negligible loss in quality of the image.
68

@@ -76,6 +78,9 @@ GlobalScope.launch {
7678
val compressedImageFile = Compressor.compress(context, actualImageFile, Dispatchers.Main)
7779
```
7880

81+
### Old version
82+
Please read this [readme](https://github.com/zetbaitsu/Compressor/blob/master/README_v2.md)
83+
7984
License
8085
-------
8186
Copyright (c) 2016 Zetra.

0 commit comments

Comments
 (0)