forked from pylint-dev/pylint
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
61 lines (59 loc) · 1.26 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
50
51
52
53
54
55
56
57
58
59
60
61
language: python
stages:
- prechecks
- tests-cpython
- tests-pypy
# 3.5-dev because of http://bugs.python.org/issue25131
jobs:
include:
- stage: prechecks
python: 3.6
env: TOXENV=pylint
- python: 3.6
env: TOXENV=docs
- python: 3.6
env: TOXENV=formatting
- python: 3.6
env: TOXENV=mypy
- stage: tests-cpython
python: 3.4
env: TOXENV=py34
- python: 3.5-dev
env: TOXENV=py35
- python: 3.6
env: TOXENV=py36
- python: 3.7
env: TOXENV=py37
dist: xenial
- python: 3.6
env: TOXENV=spelling
- stage: tests-pypy
python: pypy3.5-5.8.0
env: TOXENV=pypy
before_install:
- python --version
- uname -a
- lsb_release -a
- sudo apt-get -qq update
- sudo apt-get install -y enchant
install:
- pip install -U setuptools
- pip install tox coverage coveralls
- virtualenv --version
- easy_install --version
- pip --version
- tox --version
- coverage --version
script:
# Test install with current version of setuptools
- pip install .
- tox -e coverage-erase,$TOXENV
after_success:
- tox -e coveralls
after_failure:
- more .tox/log/* | cat
- more .tox/*/log/* | cat
notifications:
email:
on_success: always
on_failure: always