Files
ormar/.travis.yml
2020-09-16 12:33:12 +02:00

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