Skip to content

Commit a4d52df

Browse files
committed
drop py2 from travis
1 parent d5c1b71 commit a4d52df

File tree

2 files changed

+8
-9
lines changed

2 files changed

+8
-9
lines changed

.travis.yml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,7 @@ cache:
55
- pip
66
language: python
77
python:
8-
- '2.7'
9-
- '3.8'
8+
- '3.9'
109
env:
1110
global:
1211
- COVERALLS_PARALLEL=true
@@ -20,21 +19,21 @@ after_success:
2019
jobs:
2120
include:
2221
- stage: lint
23-
python: '2.7'
22+
python: '3.9'
2423
install:
2524
- pip install tox-travis
2625
script: tox -e py27-lint
2726
env:
2827
- TEST_SUITE=lint
29-
- python: '3.8'
28+
- python: '3.9'
3029
install:
3130
- pip install tox-travis
3231
script: tox -e py35-lint
3332
env:
3433
- TEST_SUITE=lint
3534
- stage: deploy
3635
script: skip
37-
python: '3.8'
36+
python: '3.9'
3837
deploy:
3938
provider: pypi
4039
user: openshift
@@ -45,7 +44,7 @@ jobs:
4544
repo: openshift/openshift-restclient-python
4645
condition: "$TRAVIS_TAG =~ ^v[0-9]+\\.[0-9]+\\.[0-9]+(([ab]|dev|rc)[0-9]+)?$"
4746
- stage: test-deploy
48-
python: '3.8'
47+
python: '3.9'
4948
script: python -c "import openshift ; print(openshift.__version__)"
5049
install:
5150
- pip install openshift

tox.ini

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
[tox]
22
envlist =
3-
py{27,35}-{lint}
4-
py{27,35}-openshift-unit
3+
py{27,39}-{lint}
4+
py{27,39}-openshift-unit
55

66
[testenv]
77
usedevelop = True
88
deps =
99
-rrequirements.txt
1010
-rtest-requirements.txt
11-
py35-lint: flake8-bugbear
11+
py39-lint: flake8-bugbear
1212

1313
whitelist_externals =
1414
/bin/bash

0 commit comments

Comments
 (0)