summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml20
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