Skip to content

Commit

Permalink
update travis to run against python 3.8
Browse files Browse the repository at this point in the history
  • Loading branch information
morrme committed Aug 12, 2020
1 parent 680eb85 commit a482887
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ sudo: required

jobs:
include:
- name: Run plugin test suite with python 3.7
python: 3.8
script: pytest

- name: Run plugin test suite with python 3.7
python: 3.7
script: pytest
Expand All @@ -16,21 +20,21 @@ jobs:
script: pytest

- name: Mypy for plugin code
python: 3.7
python: 3.8
script:
- mypy ./mypy_drf_plugin
- mypy -p rest_framework-stubs

- name: Lint plugin code with flake8
python: 3.7
python: 3.8
script: flake8

- name: Lint with black
python: 3.7
python: 3.8
script: black --check --line-length=120 setup.py scripts/ rest_framework-stubs/

- name: Lint plugin code with isort
python: 3.7
python: 3.8
script: isort --check

before_install: |
Expand Down

0 comments on commit a482887

Please sign in to comment.