forked from BoboTiG/python-mss
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
125 lines (118 loc) · 3.43 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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
# Beta opt-in
# https://docs.travis-ci.com/user/build-config-validation#beta-opt-in
version: ~> 1.0
language: python
dist: xenial
os: linux
env:
global:
- MAKEFLAGS="-j 2"
jobs:
fast_finish: true
include:
- name: Code quality checks
python: "3.8"
env: TOXENV=lint
- name: Types checking
python: "3.8"
env: TOXENV=types
- name: Documentation build
python: "3.8"
env: TOXENV=docs
- name: Python 3.5 on macOS
os: osx
language: shell
install:
- unset PYENV_ROOT
- curl -L https://github.com/pyenv/pyenv-installer/raw/master/bin/pyenv-installer | bash
- export PATH="$HOME/.pyenv/bin:$PATH"
- eval "$(pyenv init -)"
- pyenv install --skip-existing 3.5.10
- pyenv global 3.5.10
env: TOXENV=py35
- name: Python 3.6 on macOS
os: osx
language: shell
install:
- unset PYENV_ROOT
- curl -L https://github.com/pyenv/pyenv-installer/raw/master/bin/pyenv-installer | bash
- export PATH="$HOME/.pyenv/bin:$PATH"
- eval "$(pyenv init -)"
- pyenv install --skip-existing 3.6.12
- pyenv global system 3.6.12
env: TOXENV=py36
- name: Python 3.7 on macOS
os: osx
language: shell
install:
- unset PYENV_ROOT
- curl -L https://github.com/pyenv/pyenv-installer/raw/master/bin/pyenv-installer | bash
- export PATH="$HOME/.pyenv/bin:$PATH"
- eval "$(pyenv init -)"
- pyenv install --skip-existing 3.7.9
- pyenv global system 3.7.9
env: TOXENV=py37
- name: Python 3.8 on macOS
os: osx
language: shell
install:
- unset PYENV_ROOT
- curl -L https://github.com/pyenv/pyenv-installer/raw/master/bin/pyenv-installer | bash
- export PATH="$HOME/.pyenv/bin:$PATH"
- eval "$(pyenv init -)"
- pyenv install --skip-existing 3.8.6
- pyenv global system 3.8.6
env: TOXENV=py38
- name: Python 3.9 on macOS
os: osx
language: shell
install:
- unset PYENV_ROOT
- curl -L https://github.com/pyenv/pyenv-installer/raw/master/bin/pyenv-installer | bash
- export PATH="$HOME/.pyenv/bin:$PATH"
- eval "$(pyenv init -)"
- pyenv install --skip-existing 3.9-dev
- pyenv global system 3.9-dev
env: TOXENV=py39
- name: Python 3.10 on macOS
os: osx
language: shell
install:
- unset PYENV_ROOT
- curl -L https://github.com/pyenv/pyenv-installer/raw/master/bin/pyenv-installer | bash
- export PATH="$HOME/.pyenv/bin:$PATH"
- eval "$(pyenv init -)"
- pyenv install --skip-existing 3.10-dev
- pyenv global system 3.10-dev
env: TOXENV=py310
- name: PyPy 3.6 on GNU/Linux
python: pypy3
env: TOXENV=pypy3
- name: Python 3.5 on GNU/Linux
python: "3.5"
env: TOXENV=py35
- name: Python 3.6 on GNU/Linux
python: "3.6"
env: TOXENV=py36
- name: Python 3.7 on GNU/Linux
python: "3.7"
env: TOXENV=py37
- name: Python 3.8 on GNU/Linux
python: "3.8"
env: TOXENV=py38
- name: Python 3.9 on GNU/Linux
python: 3.9-dev
env: TOXENV=py39
- name: Python 3.10 on GNU/Linux
python: nightly
env: TOXENV=py310
addons:
apt:
packages:
- lsof
services:
- xvfb
before_script:
- python3 -m pip install --upgrade pip tox
script:
- python3 -m tox