forked from pylint-dev/astroid
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
53 lines (50 loc) · 1.12 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
language: python
stages:
- prechecks
- tests
jobs:
include:
- stage: prechecks
python: 3.6
env: TOXENV=pylint
- python: 3.6
env: TOXENV=formatting
- stage: tests
python: 3.4
env: TOXENV=py34
- python: 3.5
env: TOXENV=py35
- python: pypy3.5-5.8.0
env: TOXENV=pypy
- python: 3.6
env: TOXENV=py36
- python: 3.7
env: TOXENV=py37
dist: xenial
sudo: true
before_install:
- python --version
- uname -a
- lsb_release -a
install:
- python -m pip install pip -U
- python -m pip install tox coverage coveralls
- python -m virtualenv --version
- python -m easy_install --version
- python -m pip --version
- python -m tox --version
script:
# Test install with current version of setuptools
- python -m pip install .
# Run the tests with newest version of setuptools
- python -m pip install -U setuptools
- python -m 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