forked from typeddjango/djangorestframework-stubs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
49 lines (38 loc) · 1.2 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
language: python
cache: pip
dist: xenial
os: linux
jobs:
include:
- name: Run typecheck on DRF master test suite with Python 3.9
python: 3.9
script: python ./scripts/typecheck_tests.py
- name: Run typecheck on DRF master test suite with Python 3.8
python: 3.8
script: python ./scripts/typecheck_tests.py
- name: Run typecheck on DRF master test suite with Python 3.7
python: 3.7
script: python ./scripts/typecheck_tests.py
- name: Run typecheck on DRF master test suite with Python 3.6
python: 3.6
script: python ./scripts/typecheck_tests.py
- name: Lint using pre-commit
python: 3.9
script:
- pre-commit install && pre-commit run --all-files
- name: Run plugin test suite with Python 3.9
python: 3.9
script: pytest
- name: Run plugin test suite with Python 3.8
python: 3.8
script: pytest
- name: Run plugin test suite with Python 3.7
python: 3.7
script: pytest
- name: Run plugin test suite with Python 3.6
python: 3.6
script: pytest
before_install: |
pip install -U pip wheel setuptools djangorestframework
install: |
pip install -r ./dev-requirements.txt