forked from mkdocs/mkdocs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
85 lines (80 loc) · 2.07 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
sudo: false
language: python
dist: trusty
matrix:
include:
# Default Python
- env: TOXENV=flake8
- env: TOXENV=markdown-lint
before_install: npm install -g markdownlint-cli
- env: TOXENV=linkchecker
- env: TOXENV=jshint
before_install: npm install -g jshint
- env: TOXENV=csslint
before_install: npm install -g csslint
# Python version specific
- python: '2.7'
env: TOXENV=py27-integration
- python: '2.7'
env: TOXENV=py27-min-req
- python: '2.7'
env: TOXENV=py27-unittests
- python: '3.4'
env: TOXENV=py34-integration
- python: '3.4'
env: TOXENV=py34-min-req
- python: '3.4'
env: TOXENV=py34-unittests
- 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: 'pypy'
env: TOXENV=pypy-integration
- python: 'pypy'
env: TOXENV=pypy-min-req
- python: 'pypy'
env: TOXENV=pypy-unittests
- python: 'pypy3'
env: TOXENV=pypy3-integration
- python: 'pypy3'
env: TOXENV=pypy3-min-req
- python: 'pypy3'
env: TOXENV=pypy3-unittests
install:
- pip install codecov
- pip install tox
script:
- git clean -f -d -x
- 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 = py27-integration"