-
Notifications
You must be signed in to change notification settings - Fork 5
/
.travis.yml
48 lines (48 loc) · 2.89 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
sudo: false
# Fix SQLite problem, see https://stackoverflow.com/a/55611804/2440346
dist: xenial
language: python
branches:
except: [cookiecutter]
cache: pip
jobs:
include:
- {stage: quality, python: '3.5', env: TOX_ENV=check-setup}
- {stage: quality, python: '3.5', env: TOX_ENV=check-bandit}
- {stage: quality, python: '3.5', env: TOX_ENV=check-flake8}
- {stage: quality, python: '3.5', env: TOX_ENV=check-mypy}
- {stage: quality, python: '3.6', env: TOX_ENV=check-black}
- {stage: quality, python: '3.5', env: TOX_ENV=check-isort}
- {stage: quality, python: '3.5', env: TOX_ENV=check-docs-spell}
- {stage: quality, python: '3.5', env: TOX_ENV=check-docs-link}
- {stage: quality, python: '3.5', env: TOX_ENV=build-docs}
- {stage: test, after_success: 'tox -e codacy', python: '3.5', env: TOX_ENV=py35-django111}
- {stage: test, after_success: 'tox -e codacy', python: '3.5', env: TOX_ENV=py35-django20}
- {stage: test, after_success: 'tox -e codacy', python: '3.5', env: TOX_ENV=py35-django21}
- {stage: test, after_success: 'tox -e codacy', python: '3.5', env: TOX_ENV=py35-django22}
- {stage: test, after_success: 'tox -e codacy', python: '3.6', env: TOX_ENV=py36-django111}
- {stage: test, after_success: 'tox -e codacy', python: '3.6', env: TOX_ENV=py36-django20}
- {stage: test, after_success: 'tox -e codacy', python: '3.6', env: TOX_ENV=py36-django21}
- {stage: test, after_success: 'tox -e codacy', python: '3.6', env: TOX_ENV=py36-django22}
- {stage: test, after_success: 'tox -e codacy', python: '3.6', env: TOX_ENV=py36-django30}
- {stage: test, after_success: 'tox -e codacy', python: '3.7', env: TOX_ENV=py37-django111}
- {stage: test, after_success: 'tox -e codacy', python: '3.7', env: TOX_ENV=py37-django20}
- {stage: test, after_success: 'tox -e codacy', python: '3.7', env: TOX_ENV=py37-django21}
- {stage: test, after_success: 'tox -e codacy', python: '3.7', env: TOX_ENV=py37-django22}
- {stage: test, after_success: 'tox -e codacy', python: '3.7', env: TOX_ENV=py37-django30}
- {stage: test, after_success: 'tox -e codacy', python: '3.8', env: TOX_ENV=py38-django22}
- {stage: test, after_success: 'tox -e codacy', python: '3.8', env: TOX_ENV=py38-django30}
- {stage: test, after_success: 'tox -e codacy', python: pypy3.5, env: TOX_ENV=pypy3-django111}
- {stage: test, after_success: 'tox -e codacy', python: pypy3.5, env: TOX_ENV=pypy3-django20}
- {stage: test, after_success: 'tox -e codacy', python: pypy3.5, env: TOX_ENV=pypy3-django21}
- {stage: test, after_success: 'tox -e codacy', python: pypy3.5, env: TOX_ENV=pypy3-django22}
fast_finish: true
allow_failures:
- {stage: quality, python: '3.5', env: TOX_ENV=check-docs-spell}
- {stage: quality, python: '3.5', env: TOX_ENV=check-docs-link}
addons:
apt:
packages: [libenchant-dev]
before_install: [pip install -U setuptools]
install: [pip install -r requirements/ci.txt]
script: ['tox -e ${TOX_ENV}']