forked from nameko/nameko
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
126 lines (117 loc) · 3.14 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
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
sudo: false
language: python
services:
- docker
before_install:
# start rabbitmq, grab client ssl certs
- docker run -d --rm -p 15672:15672 -p 5672:5672 -p 5671:5671 --name nameko-rabbitmq nameko/nameko-rabbitmq:3.6.6
- docker cp nameko-rabbitmq:/srv/ssl certs
# install toxiproxy
- mkdir $PWD/bin
- wget -O $PWD/bin/toxiproxy-server https://github.com/Shopify/toxiproxy/releases/download/v2.0.0/toxiproxy-server-linux-amd64
- chmod +x $PWD/bin/toxiproxy-server
- export PATH=$PATH:$PWD/bin/
# work around https://github.com/travis-ci/travis-ci/issues/7940
- sudo rm -f /etc/boto.cfg
addons:
apt_packages:
- libenchant-dev
install:
- pip install tox
cache:
directories:
- $HOME/.cache/pip
matrix:
include:
- stage: static
python: 2.7
env: TOX_ENV=py27-static
- stage: static
python: 3.6
env: TOX_ENV=py36-static
- stage: docs
python: 3.6
env: TOX_ENV=docs
- stage: examples
python: 2.7
env: TOX_ENV=py27-examples
- stage: examples
python: 3.6
env: TOX_ENV=py36-examples
- stage: test
python: 2.7
env: TOX_ENV=py27-oldest-lib
- stage: test
python: 2.7
env: TOX_ENV=py27-pinned-lib
- stage: test
python: 2.7
env: TOX_ENV=py27-latest-lib
- stage: test
python: 2.7
env: TOX_ENV=py27-extra-lib
- stage: test
python: 3.4
env: TOX_ENV=py34-oldest-lib
- stage: test
python: 3.4
env: TOX_ENV=py34-pinned-lib
- stage: test
python: 3.4
env: TOX_ENV=py34-latest-lib
- stage: test
python: 3.5
env: TOX_ENV=py35-oldest-lib
- stage: test
python: 3.5
env: TOX_ENV=py35-pinned-lib
- stage: test
python: 3.5
env: TOX_ENV=py35-latest-lib
- stage: test
python: 3.6
env: TOX_ENV=py36-oldest-lib
- stage: test
python: 3.6
env: TOX_ENV=py36-pinned-lib
- stage: test
python: 3.6
env: TOX_ENV=py36-latest-lib
- stage: test
python: 3.6
env: TOX_ENV=py36-extra-lib
- stage: deploy
script: skip
deploy:
provider: pypi
user: onefinestay
password:
secure: Mwinp9cxGaGe/KjGFcO+T7MAgLvy5yFNeYCq9zpGniuSXsp/AFH3JIS1kWBv71tMC8S2N5kwRMVXoHNMqJt+Iq/EmYIY6vbMK8GijAUqLo8KsbxgmigWTXTn6IHKDO4gwYmQt8BDYJmbq6CNeVVCHMxWyP0Y24S25y7N35oIroU=
on:
tags: true
repo: nameko/nameko
distributions: "sdist bdist_wheel"
- stage: mastereventlet
python: 2.7
env: TOX_ENV=py27-mastereventlet
- stage: mastereventlet
python: 3.4
env: TOX_ENV=py34-mastereventlet
- stage: mastereventlet
python: 3.5
env: TOX_ENV=py35-mastereventlet
- stage: mastereventlet
python: 3.6
env: TOX_ENV=py36-mastereventlet
- stage: branchcoverage
python: 3.6
env: TOX_ENV=py36-branchcoverage-lib
fast_finish: true
allow_failures:
- env: TOX_ENV=py27-mastereventlet
- env: TOX_ENV=py34-mastereventlet
- env: TOX_ENV=py35-mastereventlet
- env: TOX_ENV=py36-mastereventlet
- env: TOX_ENV=py36-branchcoverage-lib
script:
- tox -e $TOX_ENV