]> granicus.if.org Git - graphviz/commitdiff
Add test stage and ubuntu19-10-test
authorMagnus Jacobsson <Magnus.Jacobsson@berotec.se>
Mon, 30 Mar 2020 14:28:29 +0000 (16:28 +0200)
committerMagnus Jacobsson <Magnus.Jacobsson@berotec.se>
Mon, 13 Apr 2020 06:10:48 +0000 (08:10 +0200)
.gitlab-ci.yml

index df2dc36ea93b3fdf0b9c63fe4678de4ec9e9cbfb..10dc3ee3d9122db3dd9a15ed2aab8d9ec34bd766 100644 (file)
@@ -1,6 +1,7 @@
 stages:
     - source
     - build
+    - test
     - deploy
 
 portable-source:
@@ -157,6 +158,28 @@ ubuntu19-10-build:
         - linux
     image: "graphviz/graphviz:ubuntu-19.10"
 
+ubuntu19-10-test:
+    stage: test
+    script:
+        - cat /etc/os-release
+        - ls -lt
+        - GV_VERSION=$( cat VERSION )
+        - COLLECTION=$( cat COLLECTION )
+        - zcat graphviz-${GV_VERSION}.tar.gz | tar xf -
+        - . /etc/os-release
+        - DIR=Packages/${COLLECTION}/${ID}/${VERSION_ID}
+        - ARCH=$( uname -m )
+        - find Packages
+        - apt install ./${DIR}/os/${ARCH}/libgraphviz4_${GV_VERSION}-1_amd64.deb
+        - apt install ./${DIR}/os/${ARCH}/graphviz_${GV_VERSION}-1_amd64.deb
+        - cd graphviz-${GV_VERSION}
+        - ./configure
+        - make -C tests/regression_tests/shapes check
+    image: "graphviz/graphviz:ubuntu-19.10"
+    only:
+        - master
+        - run-tests-on-gitlab-runners
+
 deployment:
     stage: deploy
     script: