Skip to content

Commit b8a6110

Browse files
committed
add travis support
1 parent 9353cde commit b8a6110

File tree

5 files changed

+34
-8
lines changed

5 files changed

+34
-8
lines changed

.travis.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
language: android
2+
android:
3+
components:
4+
- platform-tools
5+
- tools
6+
- build-tools-22.0.1
7+
- android-23
8+
- extra

library/build.gradle

Lines changed: 18 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,22 +7,35 @@ buildscript {
77
}
88
}
99

10+
apply plugin: 'com.android.library'
1011
apply plugin: 'idea'
11-
apply plugin: 'java'
1212
apply plugin: 'bintray-release'
1313

14+
android {
15+
compileSdkVersion 23
16+
buildToolsVersion '22.0.1'
17+
18+
defaultConfig {
19+
minSdkVersion 9
20+
targetSdkVersion 23
21+
versionCode 19
22+
versionName '2.6.3'
23+
}
24+
25+
compileOptions {
26+
sourceCompatibility JavaVersion.VERSION_1_7
27+
targetCompatibility JavaVersion.VERSION_1_7
28+
}
29+
}
30+
1431
idea {
1532
module {
1633
downloadJavadoc = true
1734
downloadSources = true
1835
}
1936
}
2037

21-
targetCompatibility = '1.7'
22-
sourceCompatibility = '1.7'
23-
2438
dependencies {
25-
compile 'com.google.android:android:1.6_r2'
2639
compile 'org.slf4j:slf4j-android:1.7.21'
2740
}
2841

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<manifest
3+
package="com.danikula.videocache">
4+
<application />
5+
</manifest>

sample/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ apply plugin: 'com.neenbedankt.android-apt'
1616

1717
android {
1818
compileSdkVersion 23
19-
buildToolsVersion '24'
19+
buildToolsVersion '22.0.1'
2020

2121
defaultConfig {
2222
applicationId 'com.danikula.videocache.sample'

test/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,13 @@ repositories {
55
apply plugin: 'com.android.application'
66

77
android {
8-
compileSdkVersion 22
8+
compileSdkVersion 23
99
buildToolsVersion '22.0.1'
1010

1111
defaultConfig {
1212
applicationId 'com.danikula.proxycache.test'
1313
minSdkVersion 16
14-
targetSdkVersion 22
14+
targetSdkVersion 23
1515
versionCode 1
1616
versionName '0.1'
1717
}

0 commit comments

Comments
 (0)