Skip to content

Commit

Permalink
use gradle wrapper in travis CI
Browse files Browse the repository at this point in the history
  • Loading branch information
ialokim authored and grote committed Oct 28, 2019
1 parent 04c7c58 commit 23742aa
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,14 +24,6 @@ before_install:
- echo -e "\n84831b9409646a918e30573bab4c9c91346d8abd" >> "$ANDROID_HOME/licenses/android-sdk-preview-license"

before_script:
# update gradle
- wget https://services.gradle.org/distributions/gradle-5.6.2-bin.zip
- unzip -qq gradle-5.6.2-bin.zip
- export GRADLE_HOME=$PWD/gradle-5.6.2
- export PATH=$GRADLE_HOME/bin:$PATH
- gradle -v
- gradle dependencies || true

# start emulator
- android list sdk --no-ui --all --extended
- android list targets
Expand All @@ -40,7 +32,7 @@ before_script:
- android-wait-for-emulator
- adb shell input keyevent 82 &

script: gradle build connectedCheck -PbuildServer -Pandroid.testInstrumentationRunnerArguments.notAnnotation=androidx.test.filters.LargeTest --stacktrace
script: ./gradlew build connectedCheck -PbuildServer -Pandroid.testInstrumentationRunnerArguments.notAnnotation=androidx.test.filters.LargeTest --stacktrace

before_cache:
- rm -f $HOME/.gradle/caches/modules-2/modules-2.lock
Expand Down
Empty file modified gradlew
100644 → 100755
Empty file.
Empty file modified gradlew.bat
100644 → 100755
Empty file.

0 comments on commit 23742aa

Please sign in to comment.