44 lines
972 B
YAML
44 lines
972 B
YAML
default:
|
|
before_script:
|
|
- 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
|
|
|
|
py3.8-unit_tests:
|
|
image: python:3.8-alpine
|
|
script:
|
|
- nosetests tests/*.py
|
|
- python setup.py sdist bdist_wheel
|
|
|
|
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
|
|
|
|
py3.8-integration_test:
|
|
image: python:3.8-buster
|
|
before_script:
|
|
- 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
|
|
- apt-get -y update
|
|
- apt-get -y install network-manager
|
|
script:
|
|
- python3 -m librefi
|