starlette/.travis.yml

30 lines
426 B
YAML
Raw Normal View History

sudo: required
dist: xenial
2018-06-25 13:15:32 +00:00
language: python
cache: pip
python:
- "3.6"
- "3.7"
- "3.8-dev"
2018-06-25 13:15:32 +00:00
env:
- STARLETTE_TEST_DATABASES="postgresql://localhost/starlette, mysql://localhost/starlette"
services:
- postgresql
- mysql
2018-06-25 13:15:32 +00:00
install:
- pip install -U -r requirements.txt
2018-06-25 13:15:32 +00:00
before_script:
- psql -c 'create database starlette;' -U postgres
2018-06-25 13:15:32 +00:00
script:
- scripts/test
2018-06-25 13:48:18 +00:00
after_script:
- codecov