chiark / gitweb /
CI: Split up package installing
authorDaniel Martí <mvdan@mvdan.cc>
Tue, 1 Sep 2015 22:20:24 +0000 (15:20 -0700)
committerDaniel Martí <mvdan@mvdan.cc>
Tue, 1 Sep 2015 22:23:06 +0000 (15:23 -0700)
Advantages:
* Easier to tell why we need each package
* apt-get install output is less scary/huge
* CI job is split in more, smaller steps easier to debug

.gitlab-ci.yml

index ffb9801857507da5efaa5f2e70e3c933700705e8..2bf64415e77f972cb86b68ffc0a190e013b19e94 100644 (file)
@@ -1,15 +1,21 @@
 before_script:
   - apt-get -q update -y
-  - echo " == Installing required packages"
-  - apt-get -q install -y wget tar lib32stdc++6 lib32z1
-      libjpeg-dev python-dev zlib1g-dev
-      python pyflakes pylint pep8 dash bash ruby
+  - echo " == Installing packages required by this CI script"
+  - apt-get -q install -y wget tar
+  - echo " == Installing packages required by fdroidserver"
+  - apt-get -q install -y python
       python-git python-imaging python-libcloud python-logilab-astng python-magic
       python-paramiko python-pip python-pyasn1 python-pyasn1-modules
       python-requests python-virtualenv python-yaml
       rsync
+  - echo " == Installing packages required by the test suite"
+  - apt-get -q install -y pyflakes pylint pep8 dash bash ruby
+  - echo " == Installing packages required to build Pillow"
+  - apt-get -q install -y python-dev libjpeg-dev zlib1g-dev
   - echo " == Installing OpenJDK 7"
   - apt-get -q install -y openjdk-7-jdk
+  - echo " == Installing packages required by the 32-bit SDK"
+  - apt-get -q install -y lib32stdc++6 lib32z1
   - echo " == Installing the Android SDK"
   - wget -q -O android-sdk.tgz https://dl.google.com/android/android-sdk_r24.3.4-linux.tgz
   - tar -x -z -f android-sdk.tgz