Skip to content

Commit af8679a

Browse files
committed
chore: drop legacy python tests
Support dropped for: 2.7, 3.4, 3.5
1 parent 7ecd518 commit af8679a

File tree

4 files changed

+8
-30
lines changed

4 files changed

+8
-30
lines changed

.travis.yml

+5-23
Original file line numberDiff line numberDiff line change
@@ -21,49 +21,31 @@ jobs:
2121
- stage: lint
2222
name: black_lint
2323
dist: bionic
24-
python: 3.7
24+
python: 3.8
2525
script:
2626
- pip3 install -U --pre black
2727
- black --check .
2828
- stage: test
2929
name: cli_func_v4
3030
dist: bionic
31-
python: 3.7
31+
python: 3.8
3232
script:
3333
- pip3 install tox
3434
- tox -e cli_func_v4
3535
- stage: test
3636
name: py_func_v4
3737
dist: bionic
38-
python: 3.7
38+
python: 3.8
3939
script:
4040
- pip3 install tox
4141
- tox -e py_func_v4
4242
- stage: test
4343
name: docs
4444
dist: bionic
45-
python: 3.7
45+
python: 3.8
4646
script:
4747
- pip3 install tox
4848
- tox -e docs
49-
- stage: test
50-
name: py27
51-
python: 2.7
52-
script:
53-
- pip2 install tox
54-
- tox -e py27
55-
- stage: test
56-
name: py34
57-
python: 3.4
58-
script:
59-
- pip3 install tox
60-
- tox -e py34
61-
- stage: test
62-
name: py35
63-
python: 3.5
64-
script:
65-
- pip3 install tox
66-
- tox -e py35
6749
- stage: test
6850
name: py36
6951
python: 3.6
@@ -81,7 +63,7 @@ jobs:
8163
- stage: test
8264
dist: bionic
8365
name: py38
84-
python: 3.8-dev
66+
python: 3.8
8567
script:
8668
- pip3 install tox
8769
- tox -e py38

Dockerfile

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
FROM python:3.7-alpine AS build
1+
FROM python:3.8-alpine AS build
22

33
WORKDIR /opt/python-gitlab
44
COPY . .
55
RUN python setup.py bdist_wheel
66

7-
FROM python:3.7-alpine
7+
FROM python:3.8-alpine
88

99
WORKDIR /opt/python-gitlab
1010
COPY --from=build /opt/python-gitlab/dist dist/

setup.py

-4
Original file line numberDiff line numberDiff line change
@@ -36,11 +36,7 @@ def get_version():
3636
"Operating System :: POSIX",
3737
"Operating System :: Microsoft :: Windows",
3838
"Programming Language :: Python",
39-
"Programming Language :: Python :: 2",
40-
"Programming Language :: Python :: 2.7",
4139
"Programming Language :: Python :: 3",
42-
"Programming Language :: Python :: 3.4",
43-
"Programming Language :: Python :: 3.5",
4440
"Programming Language :: Python :: 3.6",
4541
"Programming Language :: Python :: 3.7",
4642
"Programming Language :: Python :: 3.8",

tox.ini

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[tox]
22
minversion = 1.6
33
skipsdist = True
4-
envlist = py38,py37,py36,py35,py34,py27,pep8,black
4+
envlist = py38,py37,py36,pep8,black
55

66
[testenv]
77
setenv = VIRTUAL_ENV={envdir}

0 commit comments

Comments
 (0)