Daniel Martí
d6de4eb58b
CI: Use our docker image
2016-02-29 14:35:16 +00:00
Daniel Martí
affa569a79
CI: Install SDK only if necessary
2016-02-27 18:33:34 +00:00
Hans-Christoph Steiner
153a6bdbe7
Merge branch 'tools' into 'master'
...
Pull translation updates and make CI check more stuff via tools/
See merge request !210
2016-02-25 16:31:29 +00:00
Daniel Martí
99f930663d
CI: Also check language list and string formats
2016-02-25 14:25:45 +00:00
Daniel Martí
86ecfa217f
CI: Simplify sdk unboxing
2016-02-24 20:31:30 +00:00
Daniel Martí
1153a93425
CI: Remove kill line
...
Hans correctly pointed out all this does is try to kill the echo. The
AVD should be taken down along with the docker runner.
2016-02-24 20:27:20 +00:00
Daniel Martí
7471fed31c
CI: Use gradlew
2016-02-15 16:34:41 +00:00
Daniel Martí
57f5180dae
Bump Gradle to 2.9
...
I'd do 2.10, the current stable, but the android plugin seems to break
with it.
2016-01-05 09:24:02 +01:00
Daniel Martí
b6654f5077
Bump gradle to 2.8
2015-11-30 10:37:38 +01:00
Daniel Martí
4412b0a557
CI: Bump sdk to 24.4.1
2015-11-07 13:15:54 +01:00
Daniel Martí
c74e272de7
Bump build-tools to 23.0.2
2015-11-05 12:00:42 +01:00
Daniel Martí
65e8087211
CI: Run checkstyle
2015-10-09 17:05:36 +02:00
Daniel Martí
999fa6eb21
Add checkstyle with a small config
...
It doesn't include all of the Android style checks as found in Android Studio,
but it's a start.
Bump Gradle to 2.7 because the checkstyle plugin in earlier versions is just
not good enough.
2015-10-08 17:26:27 +02:00
Daniel Martí
c8f495ec16
Move wait-for-emulator out of F-Droid subdir
...
It doesn't specifically apply only to the client.
2015-10-01 19:50:37 -07:00
Daniel Martí
b54ae7ba25
CI: Remove 4.4 emulator, still too flaky
2015-09-17 22:26:40 -07:00
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