-
Notifications
You must be signed in to change notification settings - Fork 21
/
.travis.yml
48 lines (44 loc) · 993 Bytes
/
.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
language: python
cache:
directories:
- $HOME/.cache/pip
before_cache:
- rm -r -f $HOME/.cache/pip/log
matrix:
include:
- python: 2.7
env: TOX_ENV=py27
- python: pypy
env: TOX_ENV=pypy PYPY_VERSION='2.7-5.10.0'
- python: 3.4
env: TOX_ENV=py34
- python: 3.5
env: TOX_ENV=py35
- python: 3.6
env: TOX_ENV=py36
- python: 3.7
env: TOX_ENV=py37
# Python3.7 isn't available on the standard Trusty build that Travis uses
dist: xenial
sudo: true
- python: 2.7
env: TOX_ENV=pep8
- python: 3.6
env: TOX_ENV=pep8
- python: 2.7
env: TOX_ENV=pylint
- python: 3.6
env: TOX_ENV=pylint
- python: 2.7
env: TOX_ENV=coverage
- python: 3.6
env: TOX_ENV=coverage
# commands to install dependencies
install:
- ./.travis/install.sh
# commands to run
script:
- ./.travis/run.sh
after_success:
- if [ "-x$TOX_ENV" = "xcoverage" ]; then coveralls; fi