-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.travis.yml
More file actions
37 lines (27 loc) · 828 Bytes
/
.travis.yml
File metadata and controls
37 lines (27 loc) · 828 Bytes
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: xenial
language: python
cache: pip
before_script:
- pip install tox
script: tox
notifications:
email: false
services:
- mysql
before_install:
- mysql -u root -e "CREATE USER 'old'@'localhost' IDENTIFIED BY 'demo';"
- mysql -u root -e 'CREATE DATABASE oldtests DEFAULT CHARACTER SET utf8 DEFAULT COLLATE utf8_bin;'
- mysql -u root -e "GRANT ALL PRIVILEGES ON oldtests.* TO 'old'@'localhost';"
- mysql -u root -e 'CREATE DATABASE oldtests2 DEFAULT CHARACTER SET utf8 DEFAULT COLLATE utf8_bin;'
- mysql -u root -e "GRANT ALL PRIVILEGES ON oldtests2.* TO 'old'@'localhost';"
matrix:
fast_finish: true
include:
- python: "3.5"
env: TOXENV=py35
- python: "3.6"
env: TOXENV=py36
- python: "3.5"
env: TOXENV=py35-pylint
- python: "3.6"
env: TOXENV=py36-pylint