-
Notifications
You must be signed in to change notification settings - Fork 50
/
.travis.yml
56 lines (50 loc) · 1.26 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
language: python
cache: pip
sudo: false
matrix:
include:
- python: 2.7
env:
- TOXENV=py27
- python: 3.5
env:
- TOXENV=py35
- python: 3.6
env:
- TOXENV=py36
- python: 3.7
env:
- TOXENV=py37
- python: 3.8
env:
- TOXENV=py38
- python: 3.6
env:
- TOXENV=py36-old-azure-storage-blob
services:
- docker
- redis-server
- mongodb
- postgresql
- mysql
install: pip install tox coveralls
before_script:
- bash .travis/start_minio.sh
- docker run -p 10000:10000 mcr.microsoft.com/azure-storage/azurite azurite-blob --blobHost 0.0.0.0 &
- docker run -d --name fake-gcs-server -p 4443:4443 fsouza/fake-gcs-server -scheme http
- psql -c 'create database simplekv_test;' -U postgres
- psql -c 'ALTER ROLE travis CONNECTION LIMIT -1;' -U postgres
- mysql -e 'create database simplekv_test;'
- mysql -e 'set global max_connections = 200;'
script: tox
after_success:
- coveralls
deploy:
provider: pypi
user: "fxmc"
password:
secure: "bTmsf99BGyjIYj8NxMoWcKu2pdynHF0mUY6q3QgP7mnq430n0UONEJ/fdS9Q73mlouRzAjvdBESvwh9474g9RO778N3HTzn0XTLWpY50gRvblG8yD49x6g3+/IPPJ6ZifrViiiw7tbM4fZhQdPXd0t8vDrSZAVV6Z1v15NsWfkQ="
distributions: sdist bdist_wheel
on:
tags: true
skip_existing: true