forked from Map-A-Droid/MAD
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
26 lines (26 loc) · 842 Bytes
/
.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
language: python
python:
- "3.6"
- "3.7"
- "3.8"
matrix:
include:
- os: linux
dist: xenial
- os: linux
dist: bionic
addons:
mariadb: '10.2'
before_install:
- mysql -u root -e "CREATE DATABASE mad;"
- mysql -u root -e "CREATE USER 'mad'@'localhost' IDENTIFIED BY 'mad';"
- mysql -u root -e "GRANT ALL ON *.* TO 'mad'@'localhost';"
install:
- pip3 install -r requirements.txt
- pip3 install flake8 flake8-variables-names flake8-logging-format pep8-naming flake8-eradicate
script:
- python3 -m flake8
- python3 start.py -ut -cm -cf configs/config.ini.travis -mf configs/mappings.travis.json
- mysql -u root -e "DROP DATABASE mad;"
- mysql -u root -e "CREATE DATABASE mad;"
- python3 start.py -ut -cf configs/config.ini.travis -mf configs/mappings.travis.json