-
Notifications
You must be signed in to change notification settings - Fork 23
/
Copy path.travis.yml
71 lines (71 loc) · 2.35 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
language: python
sudo: false
cache: pip
if: (branch = master) OR (tag IS present)
stages:
- name: deploy
if: tag IS present
matrix:
include:
- python: 3.6
env: TOXENV=py36-twlatest
- python: 3.6
env: TOXENV=py36-twlatest-alldeps
- python: 3.7
env: TOXENV=py37-twlatest-alldeps
dist: xenial
- python: pypy3.6-7.2.0
dist: bionic
env: TOXENV=pypy3-twlatest-alldeps
- python: 3.6
env: TOXENV=py36-twtrunk-acmaster-alldeps
- python: 3.7
env: TOXENV=py37-twtrunk-acmaster-alldeps
dist: xenial
- python: pypy3.6-7.2.0
dist: bionic
env: TOXENV=pypy3-twtrunk-acmaster-alldeps
- python: 3.6
env: TOXENV=py36-twlowest-alldeps
- python: 3.7
env: TOXENV=py37-twlowest-alldeps
dist: xenial
- python: pypy3.6-7.2.0
dist: bionic
env: TOXENV=pypy3-twlowest-alldeps
- python: 3.7
env: TOXENV=docs
addons:
apt:
packages:
- libenchant-dev
- python: 3.6
env: TOXENV=flake8
allow_failures:
- env: TOXENV=py36-twtrunk-acmaster-alldeps
- env: TOXENV=py37-twtrunk-acmaster-alldeps
- env: TOXENV=pypy3-twtrunk-acmaster-alldeps
install:
# Upgrade packaging tools separately, so that other installations are
# performed with the upgraded tools.
- pip install -U pip setuptools wheel
- pip install tox codecov
script:
- tox
after_success:
# Codecov needs combined coverage, and having the raw report in the test
# output can be useful.
- tox -e coverage-report
- codecov
notifications:
email: false
deploy:
provider: pypi
user: releasebot.txacme
distributions: sdist bdist_wheel
on:
tags: true
condition: "$TOXENV = py37-twlatest-alldeps"
all_branches: true
password:
secure: VLwvRgwwOHp6+8huOdReN8Z6OgiLtyTCGRl82mujlr+rHxSGiUfZrOXKLLVaRhKW3UpMw1Yi4F9KDWBqrbdjn5kAdbgwDrp5s1xnrxX2CeC7BP17fkW37mnY6+BqqJQzhpoiqLFgqS77es6QONosFhxrpu8PqbSlQjy5Ar/OR2NzVd9+/2uEjxw+CKGhI1WSOop7XBnFZ7b4Gjtlcw//lpzed3iOTSDLmK94m617DvhzfJEGH3a2XmkRvLbPsFD5t0KzWwC0AABDaXr7zb6DWP4lPs94x7ZDATpFHruU3m8Zsp0MKl0xIPDdcTPvAWcIpUkJ9da5VeMl049O17l1Hi+NMeAa3UsuRAch5Rp6KOOeTasZWlnk9dgse+Wu6NHCaUJx6VF/qyYkuxTEG8+9LkXeKEYVfjS+TOgKGydd6hc9jLm4U86i3fxNVcw91Ch59TljeWXRr21/ClPrJbFNcDKIBbYu4Lnpzac42w3Gle41zLmSkCvD3zbUJuNxphuOgTDd4+DnOXxmuVE1wvVUVTyVrSxzjc7L9BD5DDaw3QEy3N0az8LBp+OMOJyoRetw2sH7DTioi/7TQLFHxaV7Znv+mbJR8X/7NaNqEQSelm1rD/4PgBlcDoG1Q4Xfc42wj4RsCMxBB3ST7qhGdvD/oa8Zr/GyXwkhzGFhrXtdoio=