[Git][NTPsec/ntpsec][master] Fix Python 2 options tests on Debian/Ubuntu

Richard Laager gitlab at mg.gitlab.com
Tue Mar 17 13:29:17 UTC 2020



Richard Laager pushed to branch master at NTPsec / ntpsec


Commits:
9c9fab07 by Richard Laager at 2020-03-16T23:12:33-05:00
Fix Python 2 options tests on Debian/Ubuntu

- - - - -


1 changed file:

- .gitlab-opttest-ci.yml


Changes:

=====================================
.gitlab-opttest-ci.yml
=====================================
@@ -98,7 +98,7 @@ fbsd-12-options-tester:
   stage: test
   script:
     - apt-get update
-    - apt-get install -y netbase bison gcc libssl-dev libcap-dev pps-tools python2.7-dev libseccomp-dev bash pkg-config python3-dev
+    - apt-get install -y netbase bison gcc libssl-dev libcap-dev pps-tools python2-dev python2-minimal libseccomp-dev bash pkg-config python3-dev python3-minimal
     - PYTHON=python2 bash tests/option-tester.sh
     - PYTHON=python3 bash tests/option-tester.sh
   tags:
@@ -106,13 +106,25 @@ fbsd-12-options-tester:
   only:
     - schedules
 
+.deb_old_option_tester: &deb_old_option_tester
+  stage: test
+  script:
+    - apt-get update
+    - apt-get install -y netbase bison gcc libssl-dev libcap-dev pps-tools python-dev python-minimal libseccomp-dev bash pkg-config python3-dev python3-minimal
+    - PYTHON=python bash tests/option-tester.sh
+    - PYTHON=python3 bash tests/option-tester.sh
+  tags:
+    - gitlab-org
+  only:
+    - schedules
+
 debian-i386-options-tester:
   image: i386/debian:stable-slim
   <<: *deb_option_tester
 
 debian-oldstable-options-tester:
   image: debian:oldstable-slim
-  <<: *deb_option_tester
+  <<: *deb_old_option_tester
 
 debian-stable-options-tester:
   image: debian:stable-slim
@@ -132,7 +144,7 @@ ubuntu-devel-options-tester:
 
 ubuntu-latest-options-tester:
   image: ubuntu:latest
-  <<: *deb_option_tester
+  <<: *deb_old_option_tester
 
 ubuntu-rolling-options-tester:
   image: ubuntu:rolling



View it on GitLab: https://gitlab.com/NTPsec/ntpsec/-/commit/9c9fab07670fea4bc7b11b39fba6140b01a91109

-- 
View it on GitLab: https://gitlab.com/NTPsec/ntpsec/-/commit/9c9fab07670fea4bc7b11b39fba6140b01a91109
You're receiving this email because of your account on gitlab.com.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ntpsec.org/pipermail/vc/attachments/20200317/156af477/attachment-0001.htm>


More information about the vc mailing list