From 0ada42b01526bbbfbf251bdea5dccf085c8ef481 Mon Sep 17 00:00:00 2001 From: Josh Kasten Date: Mon, 7 Jun 2021 23:10:27 -0700 Subject: [PATCH] Run tests independently to avoid JVM memory issue --- .travis.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 3761533..06ede08 100644 --- a/.travis.yml +++ b/.travis.yml @@ -17,11 +17,12 @@ before_script: - yes | sdkmanager "platforms;android-27" - chmod +x gradlew script: - - ./gradlew build + - ./gradlew test --tests "com.onesignal.androidsdk.MainTest" + - ./gradlew test --tests "com.onesignal.androidsdk.FullBuildTest" after_failure: - cat build/reports/lint-results.xml - cat build/outputs/lint-results-debug.xml - cd ../.. - pwd - ls -la $HOME - - ls -la $HOME/android-sdk \ No newline at end of file + - ls -la $HOME/android-sdk