Browse Source

Disable UI tests in Travis until we get a stable setup

David A. Velasco 9 years ago
parent
commit
8ef1ade039
1 changed files with 5 additions and 5 deletions
  1. 5 5
      .travis.yml

+ 5 - 5
.travis.yml

@@ -19,13 +19,13 @@ script:
   - ./gradlew assembleDebug
   - ./gradlew assembleDebug
 # run all the local unit tests of app module
 # run all the local unit tests of app module
   - ./gradlew :testDebug
   - ./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
 # install app, then assemble and install instrumented tests of app module
-# - ./gradlew :installDebug
-# - ./gradlew :installDebugAndroidTest
+  - ./gradlew :installDebug
+  - ./gradlew :installDebugAndroidTest
 # run sample instrumented unit test
 # 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:
 env:
   global:
   global:
   - secure: h4Y7ZvgbvOj5T71ubRcw3Fy3KXF8qHugRFLGK3q2R9YuRsDAf8XH+Y/UiXyH8sac2QSj7Zlny1kA1DEJgwhTXs9wsAVKVJCQNTJGEvhm/4uQgPeNMzMv07Lqe8V+KUBsFH5qhfPJO357ERW0k2f2qljoLSHtHStclt7iGvFdynA=
   - secure: h4Y7ZvgbvOj5T71ubRcw3Fy3KXF8qHugRFLGK3q2R9YuRsDAf8XH+Y/UiXyH8sac2QSj7Zlny1kA1DEJgwhTXs9wsAVKVJCQNTJGEvhm/4uQgPeNMzMv07Lqe8V+KUBsFH5qhfPJO357ERW0k2f2qljoLSHtHStclt7iGvFdynA=