Files
ormar/.travis.yml

32 lines
514 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
after_script:
- codecov