File tree Expand file tree Collapse file tree 5 files changed +61
-20
lines changed Expand file tree Collapse file tree 5 files changed +61
-20
lines changed Original file line number Diff line number Diff line change @@ -4,32 +4,66 @@ dist: xenial
4
4
matrix :
5
5
fast_finish : true
6
6
include :
7
- - os : linux
8
- python : " 3.7"
7
+ - name : Code quality checks
8
+ os : linux
9
+ python : " 3.8"
9
10
env : TOXENV=lint
10
- - os : linux
11
- python : " 3.7"
11
+ - name : Types checking
12
+ os : linux
13
+ python : " 3.8"
12
14
env : TOXENV=types
13
- - os : linux
14
- python : " 3.7"
15
+ - name : Documentation build
16
+ os : linux
17
+ python : " 3.8"
15
18
env : TOXENV=docs
16
19
- os : osx
17
- language : generic
20
+ language : shell
21
+ before_install :
22
+ - bash .travis/install.sh
23
+ env :
24
+ - PYTHON_VERSION=3.5
25
+ - TOXENV=py35
26
+ - name : " Python 3.6 on macOS 10.13"
27
+ os : osx
28
+ osx_image : xcode9.4 # Python 3.6.5 running on macOS 10.13
29
+ language : shell
30
+ env :
31
+ - PYTHON_VERSION=3.6
32
+ - TOXENV=py36
33
+ - name : " Python 3.7 on macOS 10.14"
34
+ os : osx
35
+ osx_image : xcode10.2 # Python 3.7.3 running on macOS 10.14.3
36
+ language : shell
18
37
env :
19
38
- PYTHON_VERSION=3.7
20
39
- TOXENV=py37
21
- - os : linux
40
+ - os : osx
41
+ language : shell
42
+ before_install :
43
+ - bash .travis/install.sh
44
+ env :
45
+ - PYTHON_VERSION=3.8
46
+ - TOXENV=py38
47
+ - name : " PyPy 3.6 on GNU/Linux"
48
+ os : linux
49
+ python : " pypy3"
50
+ env : TOXENV=pypy3
51
+ - name : " Python 3.5 on GNU/Linux"
52
+ os : linux
22
53
python : " 3.5"
23
54
env : TOXENV=py35
24
- - os : linux
55
+ - name : " Python 3.6 on GNU/Linux"
56
+ os : linux
25
57
python : " 3.6"
26
58
env : TOXENV=py36
27
- - os : linux
59
+ - name : " Python 3.7 on GNU/Linux"
60
+ os : linux
28
61
python : " 3.7"
29
62
env : TOXENV=py37
30
- - os : linux
31
- python : " pypy3.5"
32
- env : TOXENV=pypy3
63
+ - name : " Python 3.8 on GNU/Linux"
64
+ os : linux
65
+ python : " 3.8"
66
+ env : TOXENV=py38
33
67
34
68
addons :
35
69
apt :
@@ -39,9 +73,6 @@ addons:
39
73
services :
40
74
- xvfb
41
75
42
- before_install :
43
- - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then bash .travis/install.sh; fi
44
-
45
76
install :
46
77
- python -m pip install --upgrade pip tox
47
78
Original file line number Diff line number Diff line change @@ -3,6 +3,8 @@ Python MSS
3
3
4
4
.. image :: https://travis-ci.org/BoboTiG/python-mss.svg?branch=master
5
5
:target: https://travis-ci.org/BoboTiG/python-mss
6
+ .. image :: https://ci.appveyor.com/api/projects/status/72dik18r6b746mb0?svg=true
7
+ :target: https://ci.appveyor.com/project/BoboTiG/python-mss
6
8
.. image :: https://img.shields.io/badge/say-thanks-ff69b4.svg
7
9
:target: https://saythanks.io/to/BoboTiG
8
10
.. image :: https://pepy.tech/badge/mss
Original file line number Diff line number Diff line change @@ -24,6 +24,12 @@ environment:
24
24
- python : py37-x64
25
25
tox_env : py37
26
26
python_path : c:\python37-x64
27
+ - python : py38
28
+ tox_env : py38
29
+ python_path : c:\python38
30
+ - python : py38-x64
31
+ tox_env : py38
32
+ python_path : c:\python38-x64
27
33
28
34
install :
29
35
- python -m pip install virtualenv
Original file line number Diff line number Diff line change @@ -23,6 +23,7 @@ classifiers =
23
23
Programming Language :: Python :: 3.5
24
24
Programming Language :: Python :: 3.6
25
25
Programming Language :: Python :: 3.7
26
+ Programming Language :: Python :: 3.8
26
27
Programming Language :: Python :: 3 :: Only
27
28
Topic :: Multimedia :: Graphics :: Capture :: Screen Capture
28
29
Topic :: Software Development :: Libraries
Original file line number Diff line number Diff line change @@ -3,23 +3,24 @@ envlist =
3
3
lint
4
4
types
5
5
docs
6
- py{37,36,35,py3}
6
+ py{38, 37,36,35,py3}
7
7
skip_missing_interpreters = True
8
8
9
9
[testenv]
10
10
passenv = DISPLAY
11
11
alwayscopy = True
12
12
deps =
13
- pytest>=4.0.2
13
+ pytest
14
+ # Must pin that version to support PyPy3
14
15
numpy ==1.15.4
15
- py37: pillow>=5.4.0
16
+ pillow
16
17
commands =
17
18
python -m pytest {posargs}
18
19
19
20
[testenv:lint]
20
21
description = Code quality check
21
22
deps =
22
- flake8>=3.6.0
23
+ flake8
23
24
pylint
24
25
commands =
25
26
python -m flake8 docs mss tests
You can’t perform that action at this time.
0 commit comments