From 68c67fdc122a1ae70525213f4b0a97c7b0b0a1c1 Mon Sep 17 00:00:00 2001 From: Laura Liberda Date: Thu, 3 Dec 2020 07:40:55 +0100 Subject: [PATCH] test, test, test! --- .gitlab-ci.yml | 81 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 81 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index c57cffb..cf099f2 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -9,12 +9,48 @@ py2.7-unit_tests: - nosetests tests/*.py - python setup.py sdist bdist_wheel +py3.4-unit_tests: + image: python:3.4-alpine + script: + - nosetests tests/*.py + - python setup.py sdist bdist_wheel + +py3.5-unit_tests: + image: python:3.5-alpine + script: + - nosetests tests/*.py + - python setup.py sdist bdist_wheel + +py3.6-unit_tests: + image: python:3.6-alpine + script: + - nosetests tests/*.py + - python setup.py sdist bdist_wheel + +py3.7-unit_tests: + image: python:3.7-alpine + script: + - nosetests tests/*.py + - python setup.py sdist bdist_wheel + py3.8-unit_tests: image: python:3.8-alpine script: - nosetests tests/*.py - python setup.py sdist bdist_wheel +py3.9-unit_tests: + image: python:3.9-alpine + script: + - nosetests tests/*.py + - python setup.py sdist bdist_wheel + +py3.10-rc-unit_tests: + image: python:3.10-rc-alpine + script: + - nosetests tests/*.py + - python setup.py sdist bdist_wheel + jy2.7-unit_tests: image: openjdk:11-slim before_script: @@ -38,6 +74,42 @@ py2.7-integration_test: script: - python -m librefi +py3.4-integration_test: + image: python:3.4-buster + before_script: + - pip install -r requirements.txt + - apt-get -y update + - apt-get -y install network-manager + script: + - python3 -m librefi + +py3.5-integration_test: + image: python:3.5-buster + before_script: + - pip install -r requirements.txt + - apt-get -y update + - apt-get -y install network-manager + script: + - python3 -m librefi + +py3.6-integration_test: + image: python:3.6-buster + before_script: + - pip install -r requirements.txt + - apt-get -y update + - apt-get -y install network-manager + script: + - python3 -m librefi + +py3.7-integration_test: + image: python:3.7-buster + before_script: + - pip install -r requirements.txt + - apt-get -y update + - apt-get -y install network-manager + script: + - python3 -m librefi + py3.8-integration_test: image: python:3.8-buster before_script: @@ -56,6 +128,15 @@ py3.9-integration_test: script: - python3 -m librefi +py3.10-rc-integration_test: + image: python:3.10-rc-buster + before_script: + - pip install -r requirements.txt + - apt-get -y update + - apt-get -y install network-manager + script: + - python3 -m librefi + jy2.7-integration_tests: image: openjdk:11-slim before_script: