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:
parent
4bc73fd84c
commit
30b73edd69
@ -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
|
||||
|
@ -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
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user