forked from erikrose/blessings
-
Notifications
You must be signed in to change notification settings - Fork 73
/
.travis.yml
54 lines (51 loc) · 1.72 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
language: python
matrix:
fast_finish: true
include:
- python: 3.8
env: TOXENV=about,pydocstyle,pylint,flake8,flake8_tests,mypy,sphinx COVERAGE_ID=travis-ci
- python: 2.7
env: TOXENV=py27,codecov COVERAGE_ID=travis-ci TEST_KEYBOARD=yes TEST_RAW=yes
- python: 3.4
env: TOXENV=py34,codecov TEST_QUICK=1 COVERAGE_ID=travis-ci
- python: 3.5
env: TOXENV=py35,codecov TEST_QUICK=1 COVERAGE_ID=travis-ci
- python: 3.6
env: TOXENV=py36,codecov TEST_QUICK=1 COVERAGE_ID=travis-ci
- python: 3.7
env: TOXENV=py37,codecov TEST_QUICK=1 COVERAGE_ID=travis-ci
- python: 3.8
env: TOXENV=py38,codecov COVERAGE_ID=travis-ci TEST_RAW=yes
- python: 3.9
env: TOXENV=py39,codecov TEST_QUICK=1 COVERAGE_ID=travis-ci TOXPYTHON=3.9
- python: 3.10-dev
env: TOXENV=py310,codecov TEST_QUICK=1 COVERAGE_ID=travis-ci TOXPYTHON=3.10
- python: 2.7
os: windows
language: shell
before_install:
- choco install python2
- python -m pip install --upgrade pip
- python -m pip install tox
env: PATH=/c/Python27:/c/Python27/Scripts:$PATH TOXPYTHON=2.7 TOXENV=py27,codecov COVERAGE_ID=travis-ci TEST_KEYBOARD=no
- python: 3.8
os: windows
language: shell
before_install:
- choco install python --version 3.8.0
- python -m pip install --upgrade pip
- python -m pip install tox
env: PATH=/c/Python38:/c/Python38/Scripts:$PATH TOXENV=py38,codecov COVERAGE_ID=travis-ci TEST_KEYBOARD=no
allow_failures:
- python: 3.10-dev
install:
- pip install tox
script:
- tox
sudo: false
notifications:
email:
recipients:
on_success: change
on_failure: change