From: Hans-Christoph Steiner Date: Tue, 1 Sep 2015 17:57:40 +0000 (+0200) Subject: gitlab-ci: install all android packages at once X-Git-Tag: 0.5.0~138^2~1 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=242e9d2fb9992f602e4b912be813547db3d9972f;p=fdroidserver.git gitlab-ci: install all android packages at once the `android` utility is pretty stupid, it doesn't really cache the package index info. So each time it is run, it tries to fetch the indexes from the network. This combines all android package installs to a single command to make things run quicker. --- diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 309695bd..298bf504 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -16,9 +16,7 @@ before_script: - export ANDROID_HOME=$PWD/android-sdk - export PATH="$ANDROID_HOME/tools:$PATH" - echo " == Installing Android SDK components" - - echo y | android -s update sdk --no-ui -a -t platform-tools - - echo y | android -s update sdk --no-ui -a -t tools - - echo y | android -s update sdk --no-ui -a -t build-tools-23.0.0 + - echo y | android -s update sdk --no-ui -a -t platform-tools,tools,build-tools-23.0.0 test: script: