forked from julien-duponchelle/python-mysql-replication
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
37 lines (36 loc) · 1.01 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
dist: trusty
language: python
services:
- docker
python:
- "3.4"
- "3.11"
- "pypy"
env:
- DB=mysql57
- DB=mysql56
install:
# Needs a newer version of pip to do the pip installation line
- pip install pip --upgrade
- pip install -e '.[test]'
- pip install nose
cache:
apt: true
pip: true
directories:
- $HOME/bins
before_script:
- env | grep DB
- bash -c "if [ '$DB' = 'mysql57' ]; then sudo ./scripts/install_mysql.sh 5.7; fi"
- bash -c "if [ '$DB' = 'mysql56' ]; then sudo ./scripts/install_mysql.sh 5.6; fi"
script:
- "sudo $(which nosetests) pymysqlreplication.tests.test_abnormal:TestAbnormalBinLogStreamReader.test_no_trailing_rotate_event"
- "nosetests -e test_no_trailing_rotate_event"
deploy:
provider: pypi
user: noplay
password:
secure: "uUIWiYzfgNTUuz4rKpNv/JFjnHncHPtBLiwhknCoaVJ9QGenpj9qaEWyvHZ/Aq4HyXCSjsogtQBesSxBTQCsrut6DDOWbOOFGr7WHA2N5O6EEu8rB7U4m+ziJn27+pN+MIl672tJGao7Ky9F+RO3X110Lscb0nguEMnWcHxb16U="
on:
tags: true
repo: noplay/python-mysql-replication