Skip to content

Commit

Permalink
remove python 2 support from test setup
Browse files Browse the repository at this point in the history
  • Loading branch information
noxan committed Oct 6, 2023
1 parent a4a6576 commit 3e6eee3
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 68 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["2.7", "3.4", "3.5"]
python-version: ["3.4", "3.5"]

steps:
- uses: actions/checkout@v3
Expand Down
8 changes: 0 additions & 8 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,17 +6,9 @@ script:
- "tox"
env:
- "TOXENV=py35-1.11.X"
- "TOXENV=py27-1.11.X"
- "TOXENV=py35-1.10.X"
- "TOXENV=py27-1.10.X"
- "TOXENV=py35-1.9.X"
- "TOXENV=py27-1.9.X"
- "TOXENV=py34-1.8.X"
- "TOXENV=py27-1.8.X"
- "TOXENV=py34-1.7.X"
- "TOXENV=py27-1.7.X"
- "TOXENV=py34-1.6.X"
- "TOXENV=py27-1.6.X"
- "TOXENV=py34-1.5.X"
- "TOXENV=py27-1.5.X"
- "TOXENV=py27-1.4.X"
60 changes: 1 addition & 59 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -6,20 +6,12 @@
[tox]
envlist =
py35-1.11.X,
py27-1.11.X,
py35-1.10.X,
py27-1.10.X,
py35-1.9.X,
py27-1.9.X,
py34-1.8.X,
py27-1.8.X,
py34-1.7.X,
py27-1.7.X,
py34-1.6.X,
py27-1.6.X,
py34-1.5.X,
py27-1.5.X,
py27-1.4.X
py34-1.5.X

[testenv]
setenv =
Expand All @@ -35,89 +27,39 @@ deps =
django>=1.11, <1.12
factory_boy==2.9.2

[testenv:py27-1.11.X]
basepython = python2.7
deps =
django>=1.11, <1.12
factory_boy==2.9.2

[testenv:py35-1.10.X]
basepython = python3.5
deps =
django>=1.10, <1.11
factory_boy==2.9.2

[testenv:py27-1.10.X]
basepython = python2.7
deps =
django>=1.10, <1.11
factory_boy==2.9.2

[testenv:py35-1.9.X]
basepython = python3.5
deps =
django>=1.8, <1.9
factory_boy==2.4.1

[testenv:py27-1.9.X]
basepython = python2.7
deps =
django>=1.8, <1.9
factory_boy==2.4.1

[testenv:py34-1.8.X]
basepython = python3.4
deps =
django>=1.7, <1.8
factory_boy==2.4.1

[testenv:py27-1.8.X]
basepython = python2.7
deps =
django>=1.7, <1.8
factory_boy==2.4.1

[testenv:py34-1.7.X]
basepython = python3.4
deps =
django>=1.7, <1.8
factory_boy==2.4.1

[testenv:py27-1.7.X]
basepython = python2.7
deps =
django>=1.7, <1.8
factory_boy==2.4.1

[testenv:py34-1.6.X]
basepython = python3.4
deps =
django>=1.6, <1.7
factory_boy==2.4.1

[testenv:py27-1.6.X]
basepython = python2.7
deps =
django>=1.6, <1.7
factory_boy==2.4.1

[testenv:py34-1.5.X]
basepython = python3.4
deps =
django-discover-runner
django>=1.5, <1.6
factory_boy==2.4.1

[testenv:py27-1.5.X]
basepython = python2.7
deps =
django-discover-runner
django>=1.5, <1.6
factory_boy==2.4.1

[testenv:py27-1.4.X]
basepython = python2.7
deps =
django-discover-runner
django>=1.4, <1.5
factory_boy==2.4.1

0 comments on commit 3e6eee3

Please sign in to comment.