-
Notifications
You must be signed in to change notification settings - Fork 58
/
.travis.yml
61 lines (52 loc) · 1.66 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
dist: xenial
addons:
apt:
packages:
- rabbitmq-server
sudo: true
language: python
python:
- '2.7'
- '3.5'
- '3.6'
- '3.7'
install:
- pip install tox-travis coveralls
services:
- docker
- mysql
- postgresql
- rabbitmq
- redis-server
before_script:
- docker-compose up -d localstack
- mysql -e 'CREATE DATABASE test;'
- psql -c 'CREATE DATABASE test;' -U postgres
# waiting for the DynamoDB mock
- |
while [[ $(curl -so /dev/null -w '%{response_code}' localhost:4569) != '400' ]]
do
echo 'waiting 1 sec for DynamoDB...'
sleep 1
done
# waiting for the S3 mock
- |
while [[ $(curl -so /dev/null -w '%{response_code}' localhost:4572) != '200' ]]
do
echo 'waiting 1 sec for S3...'
sleep 1
done
script:
- tox
after_success:
coveralls -v
deploy:
provider: pypi
distributions: 'sdist bdist_wheel'
user: jaegerbot
password:
secure: aNbg/EKD5xH9FmBEts0668KectIxCewHt5+jwMaOfOJ4t1HfgnBYRHszW41GwEYvK23rrgo95vbIq3+xOqxuEFXGlXFNWevuM9idB9VfFH1ijee7rUfFvsH++BxLirbYTVkHHg6cq8TjVIgd/ATwJoI9it1N82j0d/rIUsOjUdEa9dm9wHTTj7yUbcHrARH7Bo44VnJpbwgz2yNuxo1tiO8CatP9zj8DydhmQlASM1IMJrN5tRwlTZayYDKTVyi/OL3Zi9rzIWxT4V3I3fkbp+YH9nZOTboN3UJlL1DcZWBNN6wcIGm9b2bLi+Guhzduxz+ybN1sTr1hed+f2onTH3H2WKKgfqrdgn+7URCc8EWlP76Fu4U6HgG3k8om+hDmJ5eqMF2Mm7NYuWbz2bDbqlTJtbPe6118l4DoomMCcnD+k18czjFyI1dsE5Uj16GWQz3FWZhm1bovhit8Wemnhjxrk/1q4klPrQnNLcgSSrYDxblUp816NG6/spaws+7/BpaUbZLF+ARL2cNWS5Tzfi1vQhRaSuLbkHdxOEbmGEbhf9LQEH0ax2VRSgjMWEY3LRlj4K882Jjv39tlZ8YFbW01ll212nU4xg+fhYPdkVhG+OFNgFFMKqnNVzgZKNje5RQ8/g3+7u2LkcL9QiimY1SFL/mF0ckpRN6KbB0AhMc=
skip_existing: true
on:
tags: true
python: '3.7'