Disable UI tests in Travis until we get a stable setup

This commit is contained in:
David A. Velasco 2016-05-10 09:37:04 +02:00
parent 2dfd98cbdd
commit 8ef1ade039

View file

@ -19,13 +19,13 @@ script:
- ./gradlew assembleDebug
# run all the local unit tests of app module
- ./gradlew :testDebug
# run all the instrumented tests of app module
- ./gradlew connectedDebugAndroidTest --info
# run all the instrumented tests of app module - DISABLED until we get an stable setup for Espresso in Travis
# - ./gradlew connectedDebugAndroidTest --info
# install app, then assemble and install instrumented tests of app module
# - ./gradlew :installDebug
# - ./gradlew :installDebugAndroidTest
- ./gradlew :installDebug
- ./gradlew :installDebugAndroidTest
# run sample instrumented unit test
# - adb shell am instrument -w -e debug false -e class com.owncloud.android.datamodel.OCFileUnitTest com.owncloud.android.test/android.support.test.runner.AndroidJUnitRunner
- adb shell am instrument -w -e debug false -e class com.owncloud.android.datamodel.OCFileUnitTest com.owncloud.android.test/android.support.test.runner.AndroidJUnitRunner
env:
global:
- secure: h4Y7ZvgbvOj5T71ubRcw3Fy3KXF8qHugRFLGK3q2R9YuRsDAf8XH+Y/UiXyH8sac2QSj7Zlny1kA1DEJgwhTXs9wsAVKVJCQNTJGEvhm/4uQgPeNMzMv07Lqe8V+KUBsFH5qhfPJO357ERW0k2f2qljoLSHtHStclt7iGvFdynA=