blob: 61d78d4d8da97c0e9585f857c613354193d190d8 (
plain)
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
|
language: python
stages:
- prechecks
- tests-cpython
- tests-pypy
jobs:
include:
- stage: prechecks
python: 3.6
env: TOXENV=pylint
- python: 3.6
env: TOXENV=docs
- python: 3.6
env: TOXENV=formatting
- python: 3.6
env: TOXENV=mypy
- python: 3.6
env: TOXENV=spelling
- stage: tests-cpython
python: 3.5
env: TOXENV=py35
- python: 3.6
env: TOXENV=py36
- python: 3.7
env: TOXENV=py37
- python: 3.8
env: TOXENV=py38
- stage: tests-pypy
python: pypy3
env: TOXENV=pypy
before_install:
- python --version
- uname -a
- lsb_release -a
- sudo apt-get -qq update
- sudo apt-get install -y enchant
install:
# Temporary escape hatch for setuptools 50.0:
# See https://github.com/pypa/setuptools/blob/17cb9d6bf249cefe653d3bdb712582409035a7db/CHANGES.rst#v5000
- export SETUPTOOLS_USE_DISTUTILS=stdlib
- pip install -U setuptools
- pip install tox coverage coveralls
- virtualenv --version
- easy_install --version
- pip --version
- tox --version
- coverage --version
script:
- pip install .
- 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
deploy:
provider: pypi
user: Claudiu.Popa
password:
secure: lAlz/mySOEOqIMp9vYb6WVvd4YP/XmnP1XmDJWAziit4+ydSB52H0wUprBZjMHenChtflANIKXggiaVO6sw6EqU8mxMEMz+6ixs9ZA0robYy9CgYdMrXSAYgr8NHbf3WPTiD65ajP5bpQ/v6i5YhVXhTgotORBmhnMyn5LA/OvbQGWZqHsdtdXZpsflXuzEDD9SL/MgrvfOEBINJzHuXyKDqwOzqjNL9VeUoUHbubBk/haJtbXHPvAQR9SOtS1hBeq9sVAQghdxQTs39XNPAnzukgEwW0UNmmuW6bQ6UWbxztHHQYgXBni5cfhGE7B5GO2L0Cneuiwz99HGyDvdOSNgxNahLcIlAWCWzp71T7KSRnPhAFMVbw7/65eb5VIJKyrO9rwZi5zCo4+c9Wi0er7+l1PVLcEw9O+ouEYs1+1iY7JFyP4cHAPGd6h0POG/IE3UJZ/5yhOSBR6sYwRbR4Qc2zPflnZrjSgBCpaJ37Y+FZwg7BzPvElGteTmqm3PsdqWWJshYs/l5QaRuzUOalPlxJHDrau9JPm3KAlosJde7cUD5zooiy08GHfd8fle2zAbGjgk9p7VAFf/2BFJj261h9eAmFHwIgBW7jje3eBCYUbBuzl+uzGGQNdfyoNzrbRcnuVWr/Is9PefVf0OmLDPNTgJy0gevsMZgfoCCuiQ=
on:
tags: true
condition: "$TOXENV = py36"
distributions: sdist bdist_wheel
|