diff options
author | Matěj Cepl <mcepl@cepl.eu> | 2023-03-17 16:15:24 +0100 |
---|---|---|
committer | Matěj Cepl <mcepl@cepl.eu> | 2023-03-17 16:39:14 +0100 |
commit | 9f5281735e1683d275b813947e4c50fb6e4c13d3 (patch) | |
tree | 80f377f0cdc6fbc70b2835e5bcb5582ecd879101 /.gitlab-ci.yml | |
parent | c9d91c58b697a4b1b1364ade0acd772fd23035cc (diff) | |
download | m2crypto-9f5281735e1683d275b813947e4c50fb6e4c13d3.tar.gz |
Generates TAP.
Not sure how important it is, but it looks neat.
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r-- | .gitlab-ci.yml | 20 |
1 files changed, 11 insertions, 9 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 4593aa8..f13c3f4 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -6,7 +6,7 @@ python27: - apt-get install -y swig libssl-dev python-dev openssl python-twisted python-setuptools python-pip python-typing - python -mpip install --user -r dev-requirements.txt - python setup.py clean build - - PYTHONPATH=$(readlink -f build/lib.*) python -munittest discover -v + - PYTHONPATH=$(readlink -f build/lib.*) python -mtap discover -v allow_failure: exit_codes: 1 @@ -18,17 +18,17 @@ python35: - apt-get install -y swig libssl-dev python3-dev openssl python3-setuptools python3-twisted python3-pip - python3 -mpip install --user -r dev-requirements.txt - python3 setup.py clean build - - PYTHONPATH=$(readlink -f build/lib.*) python3 -munittest discover -v + - PYTHONPATH=$(readlink -f build/lib.*) python3 -mtap discover -v python3: image: python:3 when: always script: - apt-get update -q -y - - apt-get install -y swig libssl-dev python3-dev openssl python3-setuptools python3-twisted python3-pip + - apt-get install -y swig libssl-dev python3-dev openssl python3-setuptools python3-twisted python3-pip tappy - python3 -mpip install --user -r dev-requirements.txt - python3 setup.py clean build - - PYTHONPATH=$(readlink -f build/lib.*) python3 -munittest discover -v + - PYTHONPATH=$(readlink -f build/lib.*) python3 -mtap discover -v fedora: image: fedora:latest @@ -36,8 +36,9 @@ fedora: script: - dnf install --refresh -y @development-tools fedora-packager rpmdevtools - dnf install -y swig python3-devel openssl-devel openssl python3-setuptools python3-twisted + - python3 -mpip install --user -r dev-requirements.txt - python3 setup.py clean build - - PYTHONPATH=$(readlink -f build/lib.*) python3 -munittest discover -v + - PYTHONPATH=$(readlink -f build/lib.*) python3 -mtap discover -v fedora-rawhide: image: registry.fedoraproject.org/fedora:rawhide @@ -45,8 +46,9 @@ fedora-rawhide: script: - dnf install --refresh -y @development-tools fedora-packager rpmdevtools - dnf install -y swig python3-devel openssl-devel openssl python3-setuptools python3-twisted + - python3 -mpip install --user -r dev-requirements.txt - python3 setup.py clean build - - PYTHONPATH=$(readlink -f build/lib.*) python3 -munittest discover -v + - PYTHONPATH=$(readlink -f build/lib.*) python3 -mtap discover -v centos7: image: centos:7 @@ -58,7 +60,7 @@ centos7: - yum install -y swig python36-devel openssl openssl-devel python36-service-identity python36-setuptools python36-pip python36-Twisted python36-parameterized - python3 -mpip install --user -r dev-requirements.txt - python3 setup.py clean build - - PYTHONPATH=$(readlink -f build/lib.*) python3 -munittest discover -v + - PYTHONPATH=$(readlink -f build/lib.*) python3 -mtap discover -v opensuse: image: opensuse/tumbleweed @@ -66,6 +68,6 @@ opensuse: script: - zypper refresh - zypper install -y pattern:devel_rpm_build pattern:devel_C_C++ osc - - zypper install -y swig python3-devel libopenssl-devel openssl python3-service_identity python3-setuptools python3-Twisted + - zypper install -y swig python3-devel libopenssl-devel openssl python3-service_identity python3-setuptools python3-Twisted python3-tap.py - python3 setup.py clean build - - PYTHONPATH=$(readlink -f build/lib.*) python3 -munittest discover -v + - PYTHONPATH=$(readlink -f build/lib.*) python3 -mtap discover -v |