protocol-builder-mock/.travis.yml
2020-04-03 16:41:28 -04:00

37 lines
623 B
YAML

language: python
services:
- postgresql
- docker
python:
- "3.7"
before_install:
- cp config/travis-testing.py config/testing.py
- psql -c 'create database pb_test;' -U postgres
install:
- pip install pipenv pytest awscli
- export PATH=$PATH:$HOME/.local/bin;
- pipenv install
- pytest # <== This runs in Pipenv (a/k/a virtualenv)
# command to run tests
script:
- pytest
deploy:
provider: script
script: bash deploy.sh
skip_cleanup: true
on:
branch: master
notifications:
email:
on_success: change
on_failure: always
recipients:
- dan@sartography.com