add travis support

This commit is contained in:
Alexey Danilov
2016-11-15 15:27:10 +03:00
parent 9353cde8f4
commit b8a6110aa8
5 changed files with 34 additions and 8 deletions

8
.travis.yml Normal file
View File

@@ -0,0 +1,8 @@
language: android
android:
components:
- platform-tools
- tools
- build-tools-22.0.1
- android-23
- extra

View File

@@ -7,10 +7,27 @@ buildscript {
}
}
apply plugin: 'com.android.library'
apply plugin: 'idea'
apply plugin: 'java'
apply plugin: 'bintray-release'
android {
compileSdkVersion 23
buildToolsVersion '22.0.1'
defaultConfig {
minSdkVersion 9
targetSdkVersion 23
versionCode 19
versionName '2.6.3'
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_7
targetCompatibility JavaVersion.VERSION_1_7
}
}
idea {
module {
downloadJavadoc = true
@@ -18,11 +35,7 @@ idea {
}
}
targetCompatibility = '1.7'
sourceCompatibility = '1.7'
dependencies {
compile 'com.google.android:android:1.6_r2'
compile 'org.slf4j:slf4j-android:1.7.21'
}

View File

@@ -0,0 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest
package="com.danikula.videocache">
<application />
</manifest>

View File

@@ -16,7 +16,7 @@ apply plugin: 'com.neenbedankt.android-apt'
android {
compileSdkVersion 23
buildToolsVersion '24'
buildToolsVersion '22.0.1'
defaultConfig {
applicationId 'com.danikula.videocache.sample'

View File

@@ -5,13 +5,13 @@ repositories {
apply plugin: 'com.android.application'
android {
compileSdkVersion 22
compileSdkVersion 23
buildToolsVersion '22.0.1'
defaultConfig {
applicationId 'com.danikula.proxycache.test'
minSdkVersion 16
targetSdkVersion 22
targetSdkVersion 23
versionCode 1
versionName '0.1'
}