forked from aio-libs/aiomysql
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
46 lines (38 loc) · 1.06 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
language: python
python:
- 3.4
- 3.5
- 3.6-dev
env:
matrix:
- PYTHONASYNCIODEBUG=1
- PYTHONASYNCIODEBUG=
matrix:
include:
- python: 3.4
env: PYTHONASYNCIODEBUG=
addons:
mariadb: 5.5
- python: 3.4
env: PYTHONASYNCIODEBUG=1
addons:
mariadb: 10.0
- python: 3.4
env: PYTHONASYNCIODEBUG=
addons:
mariadb: 10.1
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:
- if python -c "import sys; sys.exit(sys.version_info < (3,5))"; then
pip install uvloop;
fi
- pip install -Ur requirements-dev.txt
- pip install .
- pip install codecov
script:
- make cov
after_success:
- codecov