0
0
mirror of https://github.com/ankidroid/Anki-Android.git synced 2024-09-20 03:52:15 +02:00

Switch Travis over to gradle

This commit is contained in:
timrae 2014-11-10 23:28:52 +09:00
parent 4bc73fd84c
commit 30b73edd69
2 changed files with 3 additions and 5 deletions

View File

@ -11,8 +11,7 @@ function main() {
fi
export ANDROID_HOME="$(cd ../android; /bin/pwd)"
export PATH="$ANDROID_HOME/tools:$ANDROID_HOME/platform-tools:$PATH"
./create-build-files.sh
ant clean debug
./gradlew clean assembleDebug
}
set -e

View File

@ -57,10 +57,9 @@ function main() {
which emulator || (echo "adb not found"; return 1)
start_emulator
cd tests
ant clean debug
./gradlew assembleDebug
wait_for_emulator
ant installd test
./gradlew connectedCheck
pkill emulator
}