Skip to content

Commit

Permalink
Automatic dev builds with travis-ci
Browse files Browse the repository at this point in the history
  • Loading branch information
faruktoptas committed Oct 1, 2018
1 parent 0ad70cf commit 8d74c40
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 18 deletions.
40 changes: 26 additions & 14 deletions .travis.yml
Expand Up @@ -2,27 +2,39 @@ language: android
jdk: oraclejdk8
android:
components:
# Uncomment the lines below if you want to
# use the latest revision of Android SDK Tools
- platform-tools
- tools
- build-tools-27.0.3
- android-27

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

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

# Additional components
- extra-google-google_play_services
- extra-google-m2repository
- extra-android-m2repository
- addon-google_apis-google-19

# Specify at least one system image,
# if you need to run emulator(s) during your tests
- sys-img-armeabi-v7a-android-22
- sys-img-armeabi-v7a-android-17

before_install:
- yes | sdkmanager "platforms;android-27"

before_script:
- chmod +x gradlew

script:
- ./gradlew assembleDebug
- ./gradlew assembleDebug


deploy:
provider: releases
api-key: $GITHUB_API_KEY
file: $TRAVIS_BUILD_DIR/app/build/outputs/apk/debug/app-debug.apk
skip_cleanup: true
name: dev-build-$TRAVIS_TAG
body: Automatic build of $TRAVIS_BRANCH ($TRAVIS_COMMIT) built by Travis CI on $(date +'%F %T %Z').
prerelease: true
overwrite: true
target_commitish: $TRAVIS_COMMIT
on:
tags: true

after_deploy:
- rm -rf $TRAVIS_BUILD_DIR/app/build/outputs
6 changes: 3 additions & 3 deletions README.md
@@ -1,4 +1,4 @@
# FancyShowCaseView [![Status](https://travis-ci.org/faruktoptas/FancyShowCaseView.svg?branch=master)](https://travis-ci.org/faruktoptas/FancyShowCaseView) [![](https://jitpack.io/v/faruktoptas/FancyShowCaseView.svg)](https://jitpack.io/#faruktoptas/FancyShowCaseView) [![Android Arsenal](https://img.shields.io/badge/Android%20Arsenal-FancyShowCaseView-brightgreen.svg?style=flat)](https://android-arsenal.com/details/1/5440) [![API](https://img.shields.io/badge/API-10%2B-blue.svg?style=flat)](https://android-arsenal.com/api?level=10) [![Join the chat at https://gitter.im/faruktoptas/FancyShowCaseView](https://badges.gitter.im/faruktoptas/FancyShowCaseView.svg)](https://gitter.im/faruktoptas/FancyShowCaseView?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
# FancyShowCaseView [![Status](https://travis-ci.org/faruktoptas/FancyShowCaseView.svg?branch=master)](https://travis-ci.org/faruktoptas/FancyShowCaseView) [![](https://jitpack.io/v/faruktoptas/FancyShowCaseView.svg)](https://jitpack.io/#faruktoptas/FancyShowCaseView) [![Android Arsenal](https://img.shields.io/badge/Android%20Arsenal-FancyShowCaseView-brightgreen.svg?style=flat)](https://android-arsenal.com/details/1/5440) [![API](https://img.shields.io/badge/API-14%2B-blue.svg?style=flat)](https://android-arsenal.com/api?level=10) [![Join the chat at https://gitter.im/faruktoptas/FancyShowCaseView](https://badges.gitter.im/faruktoptas/FancyShowCaseView.svg)](https://gitter.im/faruktoptas/FancyShowCaseView?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
An easy-to-use customizable show case view with circular reveal animation.

![materialup](https://cloud.githubusercontent.com/assets/1595227/24761426/f80dbc64-1af3-11e7-9c99-bca3dd836a8e.png)
Expand Down Expand Up @@ -37,7 +37,7 @@ allprojects {
Then, add the library to your module `build.gradle`
```gradle
dependencies {
implementation 'com.github.faruktoptas:FancyShowCaseView:1.0.1'
implementation 'com.github.faruktoptas:FancyShowCaseView:1.0.2'
}
```

Expand All @@ -57,7 +57,7 @@ Please see [wiki](https://github.com/faruktoptas/FancyShowCaseView/wiki) for mor
* [Get Off Your Phone](https://play.google.com/store/apps/details?id=com.nephi.getoffyourphone)

## Sample App
[fancyshowcaseview-sample-v1.0.1.apk](https://github.com/faruktoptas/FancyShowCaseView/releases/download/1.0.1/fancyshowcaseview-sample-v1.0.1.apk)
[Latest Release](https://github.com/faruktoptas/FancyShowCaseView/releases)

## Contribute
You can contribute by opening a pull request to **dev** branch.
Expand Down
2 changes: 1 addition & 1 deletion build.gradle
Expand Up @@ -6,7 +6,7 @@ buildscript {
ext.build_tools_version = '27.0.3'
ext.min_sdk_version = 14
ext.target_sdk_version = 27
ext.version_name = '1.0.1'
ext.version_name = '1.0.2'


ext.support_version = '27.1.1'
Expand Down

0 comments on commit 8d74c40

Please sign in to comment.