Commit 9106fb13 authored by Daniel Martí's avatar Daniel Martí
Browse files

CI: Run build and connectedCheck in the root

This will make sure that all projects in the repository are built and tested.
Should come in handy for !126, which splits up the app into two apps and one
library.
parent e72ccd30
......@@ -25,15 +25,14 @@ before_script:
test:
script:
- cd F-Droid
- echo " == Building via gradle"
- gradle clean assemble
- gradle build
- echo " == Setting up Android 2.3.7 emulator"
- echo no | android create avd --force -n fcl-test -t android-10 -b armeabi
- echo " == Starting Android 2.3.7 emulator"
- emulator -force-32bit -avd fcl-test -no-skin -no-audio -no-window &
- ./tools/wait-for-emulator
- ./F-Droid/tools/wait-for-emulator
- echo " == Running Android tests"
- gradle connectedAndroidTest
- gradle connectedCheck
- echo " == Stopping Android 2.3.7 emulator"
- kill $!
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment