forked from seantis/suitable
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
90 lines (71 loc) · 1.83 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
90
language: python
cache: pip
addons:
apt:
packages: sshpass
matrix:
include:
- language: python
python: "2.7"
env: TOXENV=py27-ansible24
- language: python
python: "3.5"
env: TOXENV=py35-ansible24
- language: python
python: "3.6"
env: TOXENV=py36-ansible24
- language: python
python: "2.7"
env: TOXENV=py27-ansible25
- language: python
python: "3.5"
env: TOXENV=py35-ansible25
- language: python
python: "3.6"
env: TOXENV=py36-ansible25
- language: python
python: "2.7"
env: TOXENV=py27-ansible26
- language: python
python: "3.5"
env: TOXENV=py35-ansible26
- language: python
python: "3.6"
env: TOXENV=py36-ansible26
- language: python
python: "2.7"
env: TOXENV=py27-ansible27
- language: python
python: "3.5"
env: TOXENV=py35-ansible27
- language: python
python: "3.6"
env: TOXENV=py36-ansible27
- language: python
python: "2.7"
env: TOXENV=py27-ansible28
- language: python
python: "3.5"
env: TOXENV=py35-ansible28
- language: python
python: "3.6"
env: TOXENV=py36-ansible28
- language: python
python: "2.7"
env: TOXENV=pep8
install:
- pip install tox
- if [ "$TOXENV" = 'py36-ansible27' ]; then pip install codecov; fi
script:
- tox -e $TOXENV
after_success:
- if [ "$TOXENV" = 'py36-ansible27' ]; then codecov; fi
deploy:
provider: pypi
distributions: "sdist bdist_wheel"
user: seantis
password:
secure: "p5EE2MePFHvfe5EWyrbO+V/a+JXjfJ3wYVQB5N+1Ap3QSmQQoworq1x+zufuI9wK0R8f1eCSnaSyWM7vw+i6aBLgilGLbjvax6PEJdSMmQ1vRC1hpEnXVcvpZc//gEdJzC5vcA9/ZqtXQXVbrLcd6eloPggKrjTstx/pmGnQcVY="
on:
tags: true
condition: $TOXENV = py36-ansible28