forked from mkdocs/mkdocs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
89 lines (84 loc) · 2.39 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
sudo: false
language: python
dist: trusty
matrix:
include:
# Default Python
- env: TOXENV=flake8
- env: TOXENV=markdown-lint
# Travis only gives us Node.js version 8 so we must use an older
# version of markdownlint. To declare a newer node.js version we
# lose the ability to have Python as the lang and install tox.
# If/when the default node version gets updated, remove the
# version restriction on markdownlint.
before_install: npm install -g [email protected]
# Until Linkchecker is updated to Python 3, we will have skip this test.
# Watch https://github.com/linkchecker/linkchecker for updates.
# - env: TOXENV=linkchecker
# python: '2.7'
- env: TOXENV=jshint
before_install: npm install -g jshint
- env: TOXENV=csslint
before_install: npm install -g csslint
# Python version specific
- python: '3.5'
env: TOXENV=py35-integration
- python: '3.5'
env: TOXENV=py35-min-req
- python: '3.5'
env: TOXENV=py35-unittests
- python: '3.6'
env: TOXENV=py36-integration
- python: '3.6'
env: TOXENV=py36-min-req
- python: '3.6'
env: TOXENV=py36-unittests
- python: '3.7'
env: TOXENV=py37-integration
dist: xenial
sudo: true
- python: '3.7'
env: TOXENV=py37-min-req
dist: xenial
sudo: true
- python: '3.7'
env: TOXENV=py37-unittests
dist: xenial
sudo: true
- python: '3.8'
env: TOXENV=py38-integration
dist: xenial
sudo: true
- python: '3.8'
env: TOXENV=py38-min-req
dist: xenial
sudo: true
- python: '3.8'
env: TOXENV=py38-unittests
dist: xenial
sudo: true
- python: 'pypy3'
env: TOXENV=pypy3-integration
- python: 'pypy3'
env: TOXENV=pypy3-min-req
- python: 'pypy3'
env: TOXENV=pypy3-unittests
install:
- pip install 'virtualenv<20.0.0'
- pip install codecov
- pip install tox
script:
- git clean -f -d -x
- pip freeze
- tox
after_success: codecov
deploy:
provider: pypi
user: mkdocsdeploy
distributions: "sdist bdist_wheel"
password:
secure: b4f6y1xw5B/RXXnOu6JIaNcgOBZ0/CkNaMeEXsoQSewYZNwobLPYALY9WaaOblarwrVa5NRD3e4x6SoL1/1NzQxfhCNMn7L82sssmtevnK+mSuUp4IZQa8WKyz+xLfnk28TlHgQbctAU9NaeQ6GuEflTRD7Bp8+xJ1C7h+yBUnw=
on:
tags: true
repo: mkdocs/mkdocs
condition: "$TOXENV = py37-integration"