Files
ormar/.travis.yml
2020-09-29 17:06:41 +02:00

33 lines
552 B
YAML

language: python
dist: xenial
cache: pip
python:
- "3.6"
- "3.7"
- "3.8"
services:
- postgresql
- mysql
install:
- pip install -U -r requirements.txt
before_script:
- psql -c 'create database test_database;' -U postgres
- echo 'create database test_database;' | mysql
script:
- DATABASE_URL=postgresql://localhost/test_database scripts/test.sh
- DATABASE_URL=mysql://localhost/test_database scripts/test.sh
- DATABASE_URL=sqlite:///test.db scripts/test.sh
- mypy --config-file mypy.ini ormar
after_script:
- codecov