protocol-builder-mock/.travis.yml

39 lines
640 B
YAML
Raw Normal View History

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