Apktool/scripts/travis-ci/clean-tests.sh
Connor Tumbleson cfea3e0831 build: initial attempt at getting travis windows support
build: force windows onto the bash environment

build: update permission (+x) of clean-test file

build: "bat" instead of "exe" extension

build: attempt to support long-path names on windows

build: another attempt at long filepaths on windows

build: force +x on scripts prior to execution

build: exit with return code of last command

build: dump out current path

build: dump out current path - part 2

fix: remove 5 chars from path to drop down from 260 windows max path

build: correct gradlew.bat path and remove unneeded lines

fix: remove long path global configuration

fix: restore PATH setting for windows env

build: PATH resets between scripts, fix for windows
2019-01-09 17:43:40 -05:00

11 lines
211 B
Bash
Executable File

#!/usr/bin/env sh
if [[ "$TRAVIS_OS_NAME" == "windows" ]]; then
choco install jdk8
export PATH=$PATH:"/c/Program Files/Java/jdk1.8.0_191/bin"
./gradlew.bat clean
else
./gradlew clean
fi
exit $?