Skip to content

Commit

Permalink
Merge branch 'feature/ci' into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
zetbaitsu committed Jan 26, 2020
2 parents c9945b1 + 37c6e56 commit b0e73d0
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
language: android
dist: trusty
android:
components:
# Uncomment the lines below if you want to
# use the latest revision of Android SDK Tools
# - tools
# - platform-tools

# The BuildTools version used by your project
- build-tools-29.0.2

# The SDK version used to compile your project
- android-29

# Additional components
- extra-google-google_play_services
- extra-google-m2repository
- extra-android-m2repository

# Specify at least one system image,
# if you need to run emulator(s) during your tests
- sys-img-x86-android-21
before_script:
- touch local.properties
script:
- ./gradlew clean build jacocoTestReleaseUnitTestReport
after_success:
- bash <(curl -s https://codecov.io/bash)
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
Compressor
======
[![Android Arsenal](https://img.shields.io/badge/Android%20Arsenal-Compressor-blue.svg?style=flat)](http://android-arsenal.com/details/1/3758)
[![Build Status](https://travis-ci.org/zetbaitsu/Compressor.svg?branch=master)](https://travis-ci.org/zetbaitsu/Compressor)
[![codecov](https://codecov.io/gh/zetbaitsu/Compressor/branch/master/graph/badge.svg)](https://codecov.io/gh/zetbaitsu/Compressor)
<p align="center"><img src="https://raw.githubusercontent.com/zetbaitsu/Compressor/master/ss.png" width="50%" /></p>
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.

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

### Old version
Please read this [readme](https://github.com/zetbaitsu/Compressor/blob/master/README_v2.md)

License
-------
Copyright (c) 2016 Zetra.
Expand Down

0 comments on commit b0e73d0

Please sign in to comment.