dropped python2.7 from tox and travis

This commit is contained in:
Asif Saif Uddin 2018-10-24 22:44:16 +06:00
parent 9d001cd84c
commit 26b612937c
2 changed files with 5 additions and 6 deletions

View File

@ -6,7 +6,6 @@ sudo: false
matrix: matrix:
fast_finish: true fast_finish: true
include: include:
- { python: "2.7", env: DJANGO=1.11 }
- { python: "3.4", env: DJANGO=1.11 } - { python: "3.4", env: DJANGO=1.11 }
- { python: "3.4", env: DJANGO=2.0 } - { python: "3.4", env: DJANGO=2.0 }
@ -26,8 +25,8 @@ matrix:
- { python: "3.7", env: DJANGO=master, dist: xenial, sudo: true } - { python: "3.7", env: DJANGO=master, dist: xenial, sudo: true }
- { python: "3.6", env: TOXENV=base } - { python: "3.6", env: TOXENV=base }
- { python: "2.7", env: TOXENV=lint } - { python: "3.6", env: TOXENV=lint }
- { python: "2.7", env: TOXENV=docs } - { python: "3.6", env: TOXENV=docs }
- python: "3.6" - python: "3.6"
env: TOXENV=dist env: TOXENV=dist

View File

@ -1,6 +1,6 @@
[tox] [tox]
envlist = envlist =
{py27,py34,py35,py36}-django111, {py34,py35,py36}-django111,
{py34,py35,py36,py37}-django20, {py34,py35,py36,py37}-django20,
{py35,py36,py37}-django21 {py35,py36,py37}-django21
{py35,py36,py37}-djangomaster, {py35,py36,py37}-djangomaster,
@ -41,14 +41,14 @@ deps =
-rrequirements/requirements-optionals.txt -rrequirements/requirements-optionals.txt
[testenv:lint] [testenv:lint]
basepython = python2.7 basepython = python3.6
commands = ./runtests.py --lintonly commands = ./runtests.py --lintonly
deps = deps =
-rrequirements/requirements-codestyle.txt -rrequirements/requirements-codestyle.txt
-rrequirements/requirements-testing.txt -rrequirements/requirements-testing.txt
[testenv:docs] [testenv:docs]
basepython = python2.7 basepython = python3.6
commands = mkdocs build commands = mkdocs build
deps = deps =
-rrequirements/requirements-testing.txt -rrequirements/requirements-testing.txt