librefi/.gitlab-ci.yml

152 lines
3.4 KiB
YAML
Raw Permalink Normal View History

2020-09-05 13:57:10 +02:00
default:
before_script:
2020-11-29 01:14:58 +01:00
- pip install -r requirements.txt
- pip install -r requirements_dev.txt
py2.7-unit_tests:
image: python:2.7-alpine
script:
- nosetests tests/*.py
- python setup.py sdist bdist_wheel
2020-09-05 13:57:10 +02:00
2020-12-03 07:40:55 +01:00
py3.4-unit_tests:
image: python:3.4-alpine
2020-12-03 07:44:53 +01:00
allow_failure: true
2020-12-03 07:40:55 +01:00
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
2020-11-29 01:14:58 +01:00
py3.8-unit_tests:
image: python:3.8-alpine
2020-09-05 13:57:10 +02:00
script:
- nosetests tests/*.py
2020-11-29 01:14:58 +01:00
- python setup.py sdist bdist_wheel
2020-12-03 07:40:55 +01:00
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
2020-11-29 20:00:01 +01:00
jy2.7-unit_tests:
image: openjdk:11-slim
before_script:
- apt-get -y update
- apt-get -y install wget
- ./devel_scripts/install_jython.sh
- export PATH="$HOME/jython/bin:$PATH"
- jython -m pip install -r requirements.txt
- jython -m pip install -r requirements_dev.txt
script:
- jython -m nose tests/*.py
# wheel building doesn't work on jython
- jython setup.py sdist
2020-11-29 01:14:58 +01:00
py2.7-integration_test:
image: python:2.7-buster
before_script:
- pip install -r requirements.txt
- apt-get -y update
- apt-get -y install network-manager
script:
- python -m librefi
2020-09-05 13:57:10 +02:00
2020-12-03 07:40:55 +01:00
py3.4-integration_test:
image: python:3.4-buster
2020-12-03 07:44:53 +01:00
allow_failure: true
2020-12-03 07:40:55 +01:00
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
2020-11-29 01:14:58 +01:00
py3.8-integration_test:
image: python:3.8-buster
2020-09-05 14:19:01 +02:00
before_script:
2020-11-29 01:14:58 +01:00
- pip install -r requirements.txt
- apt-get -y update
- apt-get -y install network-manager
script:
- python3 -m librefi
py3.9-integration_test:
image: python:3.9-buster
before_script:
- pip install -r requirements.txt
2020-09-05 14:21:01 +02:00
- apt-get -y update
- apt-get -y install network-manager
2020-09-05 13:57:10 +02:00
script:
- python3 -m librefi
2020-11-29 20:00:01 +01:00
2020-12-03 07:40:55 +01:00
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
2020-11-29 20:00:01 +01:00
jy2.7-integration_tests:
image: openjdk:11-slim
before_script:
- apt-get -y update
- apt-get -y install wget network-manager
- ./devel_scripts/install_jython.sh
- export PATH="$HOME/jython/bin:$PATH"
- jython -m pip install -r requirements.txt
script:
- jython -m librefi