Skip to content

Commit

Permalink
Drops support for Python2.7
Browse files Browse the repository at this point in the history
  • Loading branch information
onlinejudge95 committed Jun 5, 2020
1 parent c42bbdc commit f1db65a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 8 deletions.
13 changes: 6 additions & 7 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ cache: pip

# Use a two-stage approach, to minimize CI time on failures.
stages:
- primary
- secondary
- primary
- secondary

env: DJANGO_SETTINGS_MODULE="settings.test_settings"

Expand All @@ -21,7 +21,6 @@ jobs:
# Basic Checks
- stage: primary
env: NOXSESSION=lint-3.5
- env: NOXSESSION=test-2.7
- env: NOXSESSION=test-3.5
- env: NOXSESSION=docs

Expand All @@ -44,8 +43,8 @@ install:
- python -m pip install --force-reinstall pip

# Install the CI dependencies
- python -m pip install celery==3.1.20 # pin from requirements.txt
- python -m pip install Django==1.9 # pin from requirements.txt
- python -m pip install celery==3.1.20 # pin from requirements.txt
- python -m pip install Django==1.9 # pin from requirements.txt
- python -m pip install nox
- python -m pip install coveralls

Expand All @@ -58,5 +57,5 @@ after_success:

notifications:
email:
on_success: change # [always|never|change]
on_failure: always # [always|never|change]
on_success: change # [always|never|change]
on_failure: always # [always|never|change]
2 changes: 1 addition & 1 deletion noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ def dev(session):
session.run("python", "manage.py", *session.posargs)


@nox.session(python=["2.7", "3.5", "3.6", "3.7", "3.8"])
@nox.session(python=["3.5", "3.6", "3.7", "3.8"])
def test(session):
session.install("-r", "requirements.txt")
session.install("-r", "tools/requirements-test.txt")
Expand Down

0 comments on commit f1db65a

Please sign in to comment.