Skip to content

Commit

Permalink
Temporary workaround for #720 - don't run unit tests on Travis
Browse files Browse the repository at this point in the history
  • Loading branch information
barbeau committed Jan 23, 2017
1 parent 8c0db6f commit 03e262d
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ env:
global:
- ANDROID_API_LEVEL=23
- ANDROID_BUILD_TOOLS_VERSION=25.0.2
- ANDROID_ABI=armeabi-v7a
- ADB_INSTALL_TIMEOUT=20 # minutes (2 minutes by default - see #247)

android:
Expand All @@ -27,18 +26,10 @@ android:
# Latest artifacts in local repository
- extra-google-m2repository
- extra-android-m2repository
# Specify at least one system image
- sys-img-armeabi-v7a-android-$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
- emulator -avd test -no-skin -no-audio -no-window &

# Only run tests on the main two OneBusAway brand flavors
script:
- ./wait_for_emulator
- ./gradlew connectedObaGoogleDebugAndroidTest connectedObaAmazonDebugAndroidTest -PdisablePreDex
- ./gradlew assembleObaGoogleDebug assembleObaAmazonDebug -PdisablePreDex

notifications:
webhooks:
Expand Down

0 comments on commit 03e262d

Please sign in to comment.