mirror of
https://github.com/sartography/protocol-builder-mock.git
synced 2025-01-12 08:44:46 +00:00
25 lines
383 B
YAML
25 lines
383 B
YAML
|
language: python
|
||
|
|
||
|
services:
|
||
|
- docker
|
||
|
|
||
|
python:
|
||
|
- "3.7"
|
||
|
|
||
|
install:
|
||
|
- pip install pipenv pytest
|
||
|
- pipenv install
|
||
|
- pytest # <== This runs in Pipenv (a/k/a virtualenv)
|
||
|
|
||
|
# command to run tests
|
||
|
script:
|
||
|
- pytest
|
||
|
|
||
|
before_deploy:
|
||
|
- docker build -t sartography/protocol-builder-mock .
|
||
|
|
||
|
deploy:
|
||
|
provider: script
|
||
|
script: bash docker_push.sh
|
||
|
on:
|
||
|
branch: master
|