2020-04-03 14:26:12 +00:00
|
|
|
language: bash
|
|
|
|
|
|
|
|
services:
|
|
|
|
- docker
|
|
|
|
|
2020-05-06 20:57:08 +00:00
|
|
|
env:
|
|
|
|
global:
|
|
|
|
- COMMIT=${TRAVIS_COMMIT::8}
|
|
|
|
|
2020-04-03 14:26:12 +00:00
|
|
|
install:
|
2020-05-06 21:18:34 +00:00
|
|
|
- pip install pipenv pytest coverage awscli
|
|
|
|
- export PATH=$PATH:$HOME/.local/bin;
|
|
|
|
- pipenv install
|
|
|
|
|
|
|
|
deploy:
|
|
|
|
provider: script
|
|
|
|
script: bash deploy.sh
|
|
|
|
skip_cleanup: true
|
|
|
|
on:
|
|
|
|
all_branches: true
|
|
|
|
condition: $TRAVIS_BRANCH =~ ^(testing|staging|master)$
|
2020-04-03 14:26:12 +00:00
|
|
|
|
|
|
|
notifications:
|
|
|
|
email:
|
|
|
|
on_success: change
|
|
|
|
on_failure: always
|
|
|
|
recipients:
|
|
|
|
- dan@sartography.com
|
|
|
|
|