1
0
Fork 0
mirror of https://gitlab.com/SIGBUS/nyaa.git synced 2024-06-29 02:58:40 +00:00
nyaa/.travis.yml
2017-06-07 19:25:34 +03:00

31 lines
504 B
YAML

language: python
python: "3.6"
dist: trusty
sudo: required
matrix:
fast_finish: true
cache: pip
services:
mysql
before_install:
- mysql -u root -e 'CREATE DATABASE nyaav2 DEFAULT CHARACTER SET utf8 COLLATE utf8_bin;'
install:
- pip install -r requirements.txt
- sed "s/mysql:\/\/test:test123@/mysql:\/\/root:@/" config.example.py > config.py
- python db_create.py
- ./db_migrate.py stamp head
script:
- python -m pytest tests/
- ./lint.sh --check
notifications:
email: false