forked from noahmorrison/chevron
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
63 lines (58 loc) · 1.37 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
sudo: false
language: python
python:
- 2.7
- 3.4
- 3.5
- 3.6
- 3.7
- 3.8
- pypy
matrix:
include:
- python: 2.6
dist: trusty
- python: 3.2
dist: trusty
- python: 3.3
dist: trusty
- python: 3.6
env:
- TOXENV=flake8
- python: 3.6
env:
- PUBLISH="true"
install:
- pip install coveralls
- pip install tox-travis
script:
- tox
after_success:
- coveralls
script:
- python ./test_spec.py
deploy:
- provider: pypi
server: https://upload.pypi.org/legacy/
user: noahmorrison
password:
secure: GK+PXWWCczHMQAptgAA6umma0kP+fPsCktHzDnpb4Pa7RZBjxjS1mbRtwSfMm8gWcRYkqjO0la/t3TUP3qjfa+x5JmIwy2YTveBKmSjTxLAb9n7fCWZEGu9GWgGvfsmg2Hhi6NYUp9U7ggtoBXQ4AHgmnPyDCL2TQK32PKj5soM=
distributions: sdist bdist_wheel
skip_upload_docs: true
on:
tags: true
repo: noahmorrison/chevron
branch: master
condition: $PUBLISH = "true"
- provider: pypi
server: https://test.pypi.org/legacy/
user: noahmorrison
password:
secure: GK+PXWWCczHMQAptgAA6umma0kP+fPsCktHzDnpb4Pa7RZBjxjS1mbRtwSfMm8gWcRYkqjO0la/t3TUP3qjfa+x5JmIwy2YTveBKmSjTxLAb9n7fCWZEGu9GWgGvfsmg2Hhi6NYUp9U7ggtoBXQ4AHgmnPyDCL2TQK32PKj5soM=
distributions: sdist bdist_wheel
skip_upload_docs: true
on:
tags: true
repo: noahmorrison/chevron
all_branches: true
condition: $PUBLISH = "true"