Skip to content
This repository was archived by the owner on Oct 31, 2022. It is now read-only.

Commit fd66e23

Browse files
committed
Run tests independently to avoid JVM memory issue
1 parent a4a2112 commit fd66e23

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.travis.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,12 @@ before_script:
1717
- yes | sdkmanager "platforms;android-27"
1818
- chmod +x gradlew
1919
script:
20-
- ./gradlew build
20+
- ./gradlew --tests "com.onesignal.androidsdk.MainTest"
21+
- ./gradlew --tests "com.onesignal.androidsdk.FullBuildTest"
2122
after_failure:
2223
- cat build/reports/lint-results.xml
2324
- cat build/outputs/lint-results-debug.xml
2425
- cd ../..
2526
- pwd
2627
- ls -la $HOME
27-
- ls -la $HOME/android-sdk
28+
- ls -la $HOME/android-sdk

0 commit comments

Comments
 (0)