protocol-builder-mock/.travis.yml

39 lines
588 B
YAML
Raw Normal View History

2020-02-17 16:47:34 -05:00
language: python
python:
2022-03-28 15:26:41 -04:00
- "3.8"
2020-02-17 16:47:34 -05:00
services:
2020-03-23 14:27:29 -04:00
- postgresql
2020-02-17 16:47:34 -05:00
- docker
addons:
chrome: stable
sonarcloud:
organization: "sartography"
2020-02-17 16:47:34 -05:00
2020-03-23 14:27:29 -04:00
before_install:
- psql -c 'create database pb_test;' -U postgres
2020-02-17 16:47:34 -05:00
install:
- pipenv install --dev
env:
global:
- TESTING=true
2020-06-16 15:50:46 -04:00
- SQLALCHEMY_DATABASE_URI="postgresql://postgres:@localhost:5432/pb_test"
2020-02-17 16:47:34 -05:00
script:
- pipenv run coverage run -m pytest
- pipenv run coverage xml -i
after_success:
- sonar-scanner
2020-02-17 16:47:34 -05:00
notifications:
email:
on_success: change
on_failure: always
recipients:
- dan@sartography.com