diff --git a/.travis.yml b/.travis.yml index cd3197d9..82a531cc 100644 --- a/.travis.yml +++ b/.travis.yml @@ -2,6 +2,7 @@ language: python services: - postgresql + - docker python: - "3.7" @@ -17,4 +18,10 @@ install: # command to run tests script: - - pytest \ No newline at end of file + - pytest + +deploy: + provider: script + script: bash docker_push + on: + branch: master \ No newline at end of file diff --git a/README.md b/README.md index 48c746d7..a8191a67 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,7 @@ +# CrConnectFrontend + +[![Build Status](https://travis-ci.com/sartography/cr-connect-workflow.svg?branch=master)](https://travis-ci.com/sartography/cr-connect-workflow) + # CR Connect Workflow Microservice ## Development Setup ### Tools diff --git a/docker_push.sh b/docker_push.sh new file mode 100644 index 00000000..9d176aa1 --- /dev/null +++ b/docker_push.sh @@ -0,0 +1,3 @@ +#!/bin/bash +echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin +docker push sartography/cr-connect-workflow \ No newline at end of file