Skip to content

Commit b6d3126

Browse files
committedSep 29, 2015
Fix googlemaps#207 - Add Travis CI builds
1 parent dba3b0d commit b6d3126

File tree

2 files changed

+41
-1
lines changed

2 files changed

+41
-1
lines changed
 

‎.travis.yml

+40
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
# Test format changes to this .travis.yml file before submitting a PR with:
2+
# http://lint.travis-ci.org/googlemaps/android-maps-utils
3+
4+
language: android
5+
jdk: oraclejdk7
6+
# Turn off caching to avoid any caching problems
7+
cache: false
8+
# Use the Travis Container-Based Infrastructure
9+
sudo: false
10+
env:
11+
global:
12+
- ANDROID_API_LEVEL=23
13+
- ANDROID_BUILD_TOOLS_VERSION=23.0.0
14+
- ANDROID_ABI=armeabi-v7a
15+
- ADB_INSTALL_TIMEOUT=10 # minutes (2 minutes by default)
16+
17+
android:
18+
components:
19+
- platform-tools
20+
- tools
21+
- build-tools-$ANDROID_BUILD_TOOLS_VERSION
22+
- android-$ANDROID_API_LEVEL
23+
# Google Play Services
24+
- extra-google-google_play_services
25+
# Support library
26+
- extra-android-support
27+
# Latest artifacts in local repository
28+
- extra-google-m2repository
29+
- extra-android-m2repository
30+
# Specify at least one system image
31+
- sys-img-armeabi-v7a-android-$ANDROID_API_LEVEL
32+
33+
before_script:
34+
# Create and start emulator
35+
- echo no | android create avd --force -n test -t android-$ANDROID_API_LEVEL --abi $ANDROID_ABI
36+
- emulator -avd test -no-skin -no-audio -no-window &
37+
- android-wait-for-emulator
38+
39+
script:
40+
- ./gradlew connectedCheck -x library:signArchives

‎README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
[![Maven Central](https://maven-badges.herokuapp.com/maven-central/com.google.maps.android/android-maps-utils/badge.svg)](https://maven-badges.herokuapp.com/maven-central/com.google.maps.android/android-maps-utils)
1+
[![Maven Central](https://maven-badges.herokuapp.com/maven-central/com.google.maps.android/android-maps-utils/badge.svg)](https://maven-badges.herokuapp.com/maven-central/com.google.maps.android/android-maps-utils)[![Build Status](https://travis-ci.org/googlemaps/android-maps-utils.svg?branch=master)](https://travis-ci.org/googlemaps/android-maps-utils)
22

33
# Google Maps Android API utility library
44

0 commit comments

Comments
 (0)