Skip to content

Commit 5e2c909

Browse files
author
Vignesh Raja
authored
Allow test app tests to be run in testAllModules (#73)
1 parent 6faae81 commit 5e2c909

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,5 +25,5 @@ before_script:
2525
- adb shell input keyevent 82 &
2626
script:
2727
- ./gradlew cleanAllModules
28-
- ./gradlew testAllModules
28+
- ./gradlew testAllModulesTravis
2929
- if [[ -n $TRAVIS_TAG ]]; then ./gradlew ship; fi

build.gradle

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,12 @@ task testAllModules << {
8484
logger.info("Running android tests for all modules")
8585
}
8686

87-
testAllModules.dependsOn(':android-sdk:connectedAndroidTest', ':android-sdk:test',
87+
task testAllModulesTravis << {
88+
logger.info("Running android tests for Travis")
89+
}
90+
91+
testAllModulesTravis.dependsOn(':android-sdk:connectedAndroidTest', ':android-sdk:test',
8892
':event-handler:connectedAndroidTest', ':event-handler:test',
8993
':user-profile:connectedAndroidTest', ':shared:connectedAndroidTest')
94+
95+
testAllModules.dependsOn('testAllModulesTravis', ':test-app:connectedAndroidTest')

0 commit comments

Comments
 (0)