-
Notifications
You must be signed in to change notification settings - Fork 16
/
.travis.yml
45 lines (45 loc) · 2.51 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
sudo: false
language: python
branches:
except: [cookiecutter]
cache: pip
jobs:
include:
- {stage: check, python: '3.5', env: TOX_ENV=setup}
- {stage: check, python: '3.5', env: TOX_ENV=safety}
- {stage: check, python: '3.5', env: TOX_ENV=style}
- {stage: check, python: '3.5', env: TOX_ENV=docs}
- {stage: check, python: '3.5', env: TOX_ENV=spell}
- {stage: check, python: '3.5', env: TOX_ENV=link}
- {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-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-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.7', env: TOX_ENV=py37-django111}
- {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.8', env: TOX_ENV=py38-django111}
- {stage: test, after_success: 'tox -e codacy', python: '3.8', env: TOX_ENV=py38-django21}
- {stage: test, after_success: 'tox -e codacy', python: '3.8', env: TOX_ENV=py38-django22}
- {stage: test, after_success: 'tox -e codacy', python: '3.9-dev', env: TOX_ENV=py39-dev-django111}
- {stage: test, after_success: 'tox -e codacy', python: '3.9-dev', env: TOX_ENV=py39-dev-django21}
- {stage: test, after_success: 'tox -e codacy', python: '3.9-dev', env: TOX_ENV=py39-dev-django22}
- {stage: test, after_success: 'tox -e codacy', python: pypy, env: TOX_ENV=pypy-django111}
- {stage: test, after_success: 'tox -e codacy', python: pypy, env: TOX_ENV=pypy-django21}
- {stage: test, after_success: 'tox -e codacy', python: pypy, env: TOX_ENV=pypy-django22}
fast_finish: true
allow_failures:
- {stage: check, env: TOX_ENV=style}
- {stage: check, env: TOX_ENV=spell}
- {stage: check, env: TOX_ENV=link}
- {stage: test, env: TOX_ENV=py39-dev-django111}
- {stage: test, env: TOX_ENV=py39-dev-django21}
- {stage: test, env: TOX_ENV=py39-dev-django22}
- {stage: test, python: pypy}
addons:
apt:
packages: [libenchant-dev]
install: [pip install -r requirements/ci.txt]
script: ['tox -e ${TOX_ENV}']