Skip to content

Commit 41ee5e8

Browse files
committed
add travis
2 parents 76561f9 + ca7fc1f commit 41ee5e8

File tree

3 files changed

+35
-3
lines changed

3 files changed

+35
-3
lines changed

.travis.yml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
language: java
2+
jdk: oraclejdk7
3+
env:
4+
matrix:
5+
- ANDROID_TARGET=android-19 ANDROID_ABI=armeabi-v7a
6+
7+
before_install:
8+
# Install base Android SDK
9+
- sudo apt-get update -qq
10+
- if [ `uname -m` = x86_64 ]; then sudo apt-get install -qq --force-yes libgd2-xpm ia32-libs ia32-libs-multiarch > /dev/null; fi
11+
- wget http://dl.google.com/android/android-sdk_r22.3-linux.tgz
12+
- tar xzf android-sdk_r22.3-linux.tgz
13+
- export ANDROID_HOME=$PWD/android-sdk-linux
14+
- export PATH=${PATH}:${ANDROID_HOME}/tools:${ANDROID_HOME}/platform-tools
15+
16+
# Gradle
17+
- wget http://services.gradle.org/distributions/gradle-1.9-bin.zip
18+
- unzip gradle-1.9-bin.zip
19+
- export GRADLE_HOME=$PWD/gradle-1.9
20+
- export PATH=$GRADLE_HOME/bin:$PATH
21+
22+
# Install required components
23+
# For a full list, run `android list sdk -a --extended`
24+
# Note that sysimg-19 downloads only ARM, because only the first license query is accepted.
25+
- echo yes | android update sdk --filter platform-tools --no-ui --force > /dev/null
26+
- echo yes | android update sdk --all --filter build-tools-19.0.3 --no-ui --force > /dev/null
27+
- echo yes | android update sdk --filter android-19 --no-ui --force > /dev/null
28+
- echo yes | android update sdk --filter sysimg-19 --no-ui --force > /dev/null
29+
- echo yes | android update sdk --filter extra-android-support --no-ui --force > /dev/null
30+
- echo yes | android update sdk --filter extra-android-m2repository --no-ui --force > /dev/null
31+
32+
install:
33+
- ./gradlew assemble

LICENSE

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
The MIT License
22

3-
Copyright (c) 2010-2014 Google, Inc. http://angularjs.org
4-
53
Permission is hereby granted, free of charge, to any person obtaining a copy
64
of this software and associated documentation files (the "Software"), to deal
75
in the Software without restriction, including without limitation the rights
@@ -18,4 +16,4 @@ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
1816
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
1917
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
2018
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21-
THE SOFTWARE.
19+
THE SOFTWARE.

demo/build.gradle

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
apply plugin: 'android-sdk-manager'
22
apply plugin: 'android'
33

4+
45
android {
56
compileSdkVersion 19
67
buildToolsVersion "19.1.0"

0 commit comments

Comments
 (0)