Commit af406fb0 authored by Max Wittig's avatar Max Wittig 🌍
Browse files

chore: drop legacy python tests

Support dropped for: 2.7, 3.4, 3.5
parent 942c31a0
Loading
Loading
Loading
Loading
+12 −23
Original line number Diff line number Diff line
@@ -21,49 +21,31 @@ jobs:
    - stage: lint
      name: black_lint
      dist: bionic
      python: 3.7
      python: 3.8
      script:
        - pip3 install -U --pre black
        - black --check .
    - stage: test
      name: cli_func_v4
      dist: bionic
      python: 3.7
      python: 3.8
      script:
        - pip3 install tox
        - tox -e cli_func_v4
    - stage: test
      name: py_func_v4
      dist: bionic
      python: 3.7
      python: 3.8
      script:
        - pip3 install tox
        - tox -e py_func_v4
    - stage: test
      name: docs
      dist: bionic
      python: 3.7
      python: 3.8
      script:
        - pip3 install tox
        - tox -e docs
    - stage: test
      name: py27
      python: 2.7
      script:
        - pip2 install tox
        - tox -e py27
    - stage: test
      name: py34
      python: 3.4
      script:
        - pip3 install tox
        - tox -e py34
    - stage: test
      name: py35
      python: 3.5
      script:
        - pip3 install tox
        - tox -e py35
    - stage: test
      name: py36
      python: 3.6
@@ -81,7 +63,14 @@ jobs:
    - stage: test
      dist: bionic
      name: py38
      python: 3.8-dev
      python: 3.8
      script:
        - pip3 install tox
        - tox -e py38
    - stage: test
      dist: bionic
      name: py39
      python: 3.9-dev
      script:
      - pip3 install tox
      - tox -e py39
+2 −2
Original line number Diff line number Diff line
FROM python:3.7-alpine AS build
FROM python:3.8-alpine AS build

WORKDIR /opt/python-gitlab
COPY . .
RUN python setup.py bdist_wheel

FROM python:3.7-alpine
FROM python:3.8-alpine

WORKDIR /opt/python-gitlab
COPY --from=build /opt/python-gitlab/dist dist/
+0 −4
Original line number Diff line number Diff line
@@ -36,11 +36,7 @@ setup(
        "Operating System :: POSIX",
        "Operating System :: Microsoft :: Windows",
        "Programming Language :: Python",
        "Programming Language :: Python :: 2",
        "Programming Language :: Python :: 2.7",
        "Programming Language :: Python :: 3",
        "Programming Language :: Python :: 3.4",
        "Programming Language :: Python :: 3.5",
        "Programming Language :: Python :: 3.6",
        "Programming Language :: Python :: 3.7",
        "Programming Language :: Python :: 3.8",
+1 −1
Original line number Diff line number Diff line
[tox]
minversion = 1.6
skipsdist = True
envlist = py38,py37,py36,py35,py34,py27,pep8,black
envlist = py39,py38,py37,py36,pep8,black

[testenv]
setenv = VIRTUAL_ENV={envdir}