Skip to content

Commit

Permalink
Don't run unit tests on Travis (googlemaps#370)
Browse files Browse the repository at this point in the history
* It seems emulator-based unit testing is currently horribly broken due to issues with the API Level 23-25 emulators (http://stackoverflow.com/a/28751112/937715), so for now change to just building the project on Travis
  • Loading branch information
barbeau authored and stephenmcd committed Mar 3, 2017
1 parent 9be09a2 commit 781d364
Showing 1 changed file with 1 addition and 12 deletions.
13 changes: 1 addition & 12 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,6 @@ env:
global:
- ANDROID_API_LEVEL=24
- ANDROID_BUILD_TOOLS_VERSION=23.0.3
- ANDROID_ABI=armeabi-v7a
- ANDROID_TAG=google_apis
- ADB_INSTALL_TIMEOUT=20 # minutes (2 minutes by default)

android:
components:
Expand All @@ -32,14 +29,6 @@ android:
# Latest artifacts in local repository
- extra-google-m2repository
- extra-android-m2repository
# Specify at least one system image
- sys-img-armeabi-v7a-google_apis-$ANDROID_API_LEVEL

before_script:
# Create and start emulator
- echo no | android create avd --force -n test -t "android-"$ANDROID_API_LEVEL --abi $ANDROID_ABI --tag $ANDROID_TAG
- emulator -avd test -no-skin -no-window &
- android-wait-for-emulator

script:
- ./gradlew clean check connectedCheck -x library:signArchives -PdisablePreDex
- ./gradlew clean assembleDebug -x library:signArchives -PdisablePreDex

0 comments on commit 781d364

Please sign in to comment.