32 lines
467 B
YAML
32 lines
467 B
YAML
language: python
|
|
|
|
dist: xenial
|
|
|
|
cache: pip
|
|
|
|
python:
|
|
- "3.6"
|
|
- "3.7"
|
|
- "3.8"
|
|
|
|
env:
|
|
- TEST_DATABASE_URLS="postgresql://localhost/test_database, mysql://localhost/test_database, sqlite:///test.db"
|
|
|
|
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:
|
|
- scripts/test.sh
|
|
|
|
after_script:
|
|
- codecov |