65 Commits

Author SHA1 Message Date
Daniel Martí
6793780d4f Beef up 4.4 emulator sleep to avoid errors 2015-09-10 19:24:10 -07:00
Daniel Martí
35c5f063f1 CI: Get logcat output (W and above) on failure 2015-09-10 18:27:13 -07:00
Daniel Martí
3fe1893336 CI: 4.4 says it's ready before it actually is
Its boot animation is "stopped" but on my laptop the CPU is still at 100%,
which means it's probably still working and not ready yet. The tests fail if
you run them right after wait-for-emulator is done. If you wait a few seconds
though, they do work since the CPU load drops.

Until we can figure out a better solution, have a generous 30-second sleep
after it tells us it's ready.
2015-09-09 22:04:57 -07:00
Daniel Martí
e3400006a9 CI: test adb before running connected checks 2015-09-09 21:16:09 -07:00
Daniel Martí
de4198efaf CI: Increase adb install timeouts
It sometimes fails with the default (2 minutes), especially on the 4.4
emulator. Increase to 8 minutes.
2015-09-09 18:57:03 -07:00
Daniel Martí
51ed0f9625 CI: Run tests on a 4.4 emulator too 2015-09-09 18:24:57 -07:00
Daniel Martí
232ed2229b Bump build-tools 2015-09-05 23:00:47 -04:00
Daniel Martí
9106fb1321 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.
2015-09-03 17:18:24 -07:00
Daniel Martí
582eebd436 Run connectedAndroidTest against an emulator
Using 2.3.7 (10) armeabi for now. We can look into using more images in the
future.
2015-09-02 12:59:59 -07:00
Daniel Martí
ab1ec07686 Add platform-tools and build-tools to PATH 2015-09-01 21:43:26 -07:00
Daniel Martí
1fcc1dae1c CI: split up package installing 2015-09-01 15:45:13 -07:00
Daniel Martí
f9181b85f9 Install all android sdk packages at once
Spotted by Hans at fdroidserver. The 'update sdk' tool will download the
package index at each run, so installing one package at a time will be rather
inefficient.
2015-09-01 11:31:21 -07:00
Daniel Martí
42e9f7b2dd Gitlab CI: Make apt-get quiet 2015-08-27 15:46:37 -07:00
Daniel Martí
9d59b094e6 Gitlab CI: Install OpenJDK 2015-08-26 21:46:58 -07:00
Daniel Martí
092bdc0578 First try at a gitlab CI script 2015-08-26 20:30:59 -07:00