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 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 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 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