forked from aio-libs/aiomysql
-
Notifications
You must be signed in to change notification settings - Fork 5
/
.travis.yml
68 lines (58 loc) · 2.08 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
language: python
python:
- 3.6
- 3.7
- 3.8
env:
matrix:
- PYTHONASYNCIODEBUG=1
- PYTHONASYNCIODEBUG=
services:
- docker
matrix:
include:
- python: 3.6
env:
- PYTHONASYNCIODEBUG=
- DB=mariadb
- DBTAG=5.5
- python: 3.6
env:
- PYTHONASYNCIODEBUG=1
- DB=mariadb
- DBTAG=10.0
addons:
mariadb: '10.0'
- python: 3.6
env:
- PYTHONASYNCIODEBUG=
- DB=mariadb
- DBTAG=10.5
- python: 3.6
env:
- PYTHONASYNCIODEBUG=
- DB=mysql
- DBTAG=5.7
#before_script:
# - "mysql -e 'SELECT VERSION()'"
# - "mysql -e 'DROP DATABASE IF EXISTS test_pymysql; create database test_pymysql DEFAULT CHARACTER SET utf8 DEFAULT COLLATE utf8_general_ci;'"
# - "mysql -e 'DROP DATABASE IF EXISTS test_pymysql2; create database test_pymysql2 DEFAULT CHARACTER SET utf8 DEFAULT COLLATE utf8_general_ci;'"
install:
- pip install -Ur requirements-dev.txt
- pip install .
- pip install codecov
deploy:
provider: pypi
user: aio-libs-bot
distributions: "sdist bdist_wheel"
password:
secure: G9vr3UOuK7tJifGEzO1kForcz+DCq1IdtIVKr/e4gPenvENinCFrRRWw206BQf1ba1+EjvRqc/yJFfZrgFUJlxgrtahvFmTCzKiLHCwr2vJsEYyr6JLWKRE81//RKTOykDWwvCAjk6sgV8lYtKL6R5sTtjzLJq8CKsLoKZ97yniPKmNu/+7IJvp+vSOA9gIL+GWbDTP8lmNDLWwphFxq6mm4WQ0VWqwDb0SF3FG/QPGDYU19mPLsLqgf1cxaBuRtb/epRDLLG70M9l9/aBPbtAHdbxY+O+/Fv5RPxfo2xFB7ry7yQEsIGrOwot/TxsZDRwRnfPm8N4OV9AfnKjiF5sBpidRR5kQr2pgFP2xq7LEROOPydMbY+YbSHCRBGCHWsHusjwCCL1veVTZ10EB9j3j0O9C6rAaF6Ssdlfq3kzhbWUItQfIZ/h7C0Z0ucVqFB8uBug7jNxT8hD3pR4ftM6Y94HY4BFOlkmSUH9u7owCeUoV9WQT/QAZHOLswRpp1wjsu2c0zKh3wiiuzCYJ64cD/BQW8rQMp0QiGqsNebqR+3L6yNLLSMpDWp3q/pnVbjsI/yepvpVbpp3PltSfZJL0uUfE0OR+xU67JP4npVS8B/A7aTARcM/ljx7IYNYYf/peXQ6UmBOrR2OgPnRPv5LfG9NGdEy0WpQKCVuSydxk=
on:
tags: true
repo: aio-libs/aiomysql
all_branches: true
python: 3.6
script:
- make cov
after_success:
- codecov