CI: Split build and connectedCheck tasks
Advantages: * Failing unit tests don't keep the android tests from running * CI should be overall faster as the tasks get run in parallel and the former `gradle` task was the longest by far This will later simplify the multiplexing of the android tests onto multiple emulators.
This commit is contained in:
parent
dc9973cdbc
commit
9d79d372cd
@ -10,7 +10,7 @@ variables:
|
|||||||
# switch glibc to a memory conserving mode
|
# switch glibc to a memory conserving mode
|
||||||
MALLOC_ARENA_MAX: "2"
|
MALLOC_ARENA_MAX: "2"
|
||||||
|
|
||||||
gradle:
|
build:
|
||||||
script:
|
script:
|
||||||
- export GRADLE_USER_HOME=$PWD/.gradle
|
- export GRADLE_USER_HOME=$PWD/.gradle
|
||||||
# always report on lint errors to the build log
|
# always report on lint errors to the build log
|
||||||
@ -23,6 +23,10 @@ gradle:
|
|||||||
done;
|
done;
|
||||||
exit 1;
|
exit 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
connectedCheck:
|
||||||
|
script:
|
||||||
|
- export GRADLE_USER_HOME=$PWD/.gradle
|
||||||
- emulator64-arm -avd fcl-test-$AVD_SDK -no-skin -no-audio -no-window &
|
- emulator64-arm -avd fcl-test-$AVD_SDK -no-skin -no-audio -no-window &
|
||||||
- ./tools/wait-for-emulator
|
- ./tools/wait-for-emulator
|
||||||
- adb shell input keyevent 82 &
|
- adb shell input keyevent 82 &
|
||||||
|
Loading…
x
Reference in New Issue
Block a user