Skip to content

Commit

Permalink
add travis support
Browse files Browse the repository at this point in the history
  • Loading branch information
danikula committed Nov 15, 2016
1 parent 9353cde commit b8a6110
Show file tree
Hide file tree
Showing 5 changed files with 34 additions and 8 deletions.
8 changes: 8 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
language: android
android:
components:
- platform-tools
- tools
- build-tools-22.0.1
- android-23
- extra
23 changes: 18 additions & 5 deletions library/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -7,22 +7,35 @@ 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
downloadSources = true
}
}

targetCompatibility = '1.7'
sourceCompatibility = '1.7'

dependencies {
compile 'com.google.android:android:1.6_r2'
compile 'org.slf4j:slf4j-android:1.7.21'
}

Expand Down
5 changes: 5 additions & 0 deletions library/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest
package="com.danikula.videocache">
<application />
</manifest>
2 changes: 1 addition & 1 deletion sample/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down
4 changes: 2 additions & 2 deletions test/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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'
}
Expand Down

0 comments on commit b8a6110

Please sign in to comment.