/
.travis.yml
71 lines (65 loc) · 2.19 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
language: python
dist: xenial
stages:
- static
- test
jobs:
include:
- python: 3.6
env: DEPS="--pre nameko"
- python: 3.6
env: DEPS="nameko>=2.12.0"
- python: 3.6
env: DEPS="nameko==2.11.0"
- python: 3.6
env: DEPS="nameko==2.10.0"
- python: 3.6
env: DEPS="nameko==2.9.1"
- python: 3.6
env: DEPS="nameko==2.9.0"
- python: 3.6
env: DEPS="nameko==2.8.5"
- python: 3.6
env: DEPS="nameko==2.8.1 pytest<3.3.0"
- python: 3.6
env: DEPS="nameko==2.8.0 pytest<3.3.0"
- python: 3.6
env: DEPS="nameko==2.7.0 pytest<3.3.0"
- python: 3.7
env: DEPS="nameko>=2.12.0"
- python: 3.5
env: DEPS="nameko>=2.12.0"
- python: 2.7
env: DEPS="nameko>=2.12.0"
- python: 3.6
stage: static
install: pip install -U -e ".[dev]"
script: make static
env:
- python: 3.6
stage: deploy
install:
- pip install -U pip setuptools
- pip install -U -e ".[dev]"
deploy:
provider: pypi
on:
tags: true
repo: iky/nameko-slack
distributions: "sdist bdist_wheel"
user: iky
password:
secure: dtxpnyaIjqiZwsPLa14AfLsukswKWuYzBrX1ctJ63aKtpyU2QoJBTal3peEZbgofj2qdirIXFs63Z7kUvoarfHTWlFfof7kyJhtyU5aaP3p6zUs37+Sa7oiD79r29fB2wFCjUnDaD6XLN2a3y19jTlHvsAG8iwfNUYzFbMJm1AT1FiqKb98NXRp8bkwMm0CpwgU7Nr7kAJ3719YRrmiQCb7yf5lyxclyMv1hktmjuN8QLHnLOIIR6jJV4jvfFA/tNxniC9CSpYwJFbUt9LJAFX4v+z+eqiENKp2Uo7cJsnnIXSObWPfZnETi3qpn2XtULPk0x7CMEaOBAFWeYdONRn2bdCf1NWtnFCpJfc+EcOAr4Gqn0vfzCw1toGx4AI25fmtNKDMfXcWS7PhFiztBT+CDRV8eFt4dM2bMhMQliY8Cj/mIe9mgCCwbgDIEH0r9/Su5MAWFmA7Z4smdDAQUH6cwbIfzmlbOB62oFcR2tedkJ5OC9YNWgvLn66Nv8AvyWqoKTJe0cb4/+mMNQcrhDu5oXiy7aeiSwUuBrpKlHv3ohZHR8LuaU6YqOwcJ7vQYPmrHgUO2YhjBpqe4bBKk6NrJJ9XVWMhHkENqvGQsuV2fqtJdTP8tlQ259LCgVCNfbcCwPXmLZ7v0iO93rgk4O2q8ukoyfMsLPeu5gm/KJvs=
matrix:
allow_failures:
- python: 3.6
env: DEPS="--pre nameko"
install:
- pip install -U pip setuptools
- pip install -U -e ".[dev]"
- pip install -U $DEPS
# we can't test eventlet>0.20.1 in our py27 CI environment until the fix
# in https://github.com/eventlet/eventlet/issues/401 is released
- if [[ $TRAVIS_PYTHON_VERSION == 2* ]]; then travis_retry pip install eventlet==0.20.1; fi
script:
- make pytest