Browse Source

Match .travis.yml more closely

Adjust the GitLab CI configuration to more closely match that of
Travis CI. Fixes bug 23757.
Taylor Yu 6 years ago
parent
commit
3ae5b32aaa
2 changed files with 14 additions and 6 deletions
  1. 10 6
      .gitlab-ci.yml
  2. 4 0
      changes/bug23757

+ 10 - 6
.gitlab-ci.yml

@@ -1,13 +1,17 @@
 before_script:
-    - "apt-get update -qq"
-    - "apt-get upgrade -y"
+    - apt-get update -qq
+    - apt-get upgrade -qy
 
 build:
   script:
-    - "apt-get install -y --fix-missing git openssh-client asciidoc wget gcc g++ automake cmake make libglib2.0 libglib2.0-dev libigraph0 libigraph0-dev libevent-dev openssl libssl-dev"
-    - "sh autogen.sh && ./configure && make"
-    - "make check"
-    - "make install"
+    - apt-get install -qy --fix-missing automake build-essential
+      libevent-dev libssl-dev zlib1g-dev
+      libseccomp-dev liblzma-dev libscrypt-dev
+    - ./autogen.sh
+    - ./configure --disable-asciidoc --enable-fatal-warnings
+      --disable-silent-rules
+    - make check || (e=$?; cat test-suite.log; exit $e)
+    - make install
 
 update:
   only:

+ 4 - 0
changes/bug23757

@@ -0,0 +1,4 @@
+  o Minor bugfixes (testing):
+    - Adjust the GitLab CI configuration to more closely match that of Travis
+      CI. Fixes bug 23757; bugfix on 0.3.2.2-alpha.
+