|
|
|
@ -2,7 +2,7 @@ version: 2 |
|
|
|
jobs: |
|
|
|
build: |
|
|
|
docker: |
|
|
|
- image: circleci/python:3.8 |
|
|
|
- image: circleci/python:latest |
|
|
|
working_directory: ~/repo |
|
|
|
steps: |
|
|
|
- checkout |
|
|
|
@ -25,7 +25,7 @@ jobs: |
|
|
|
|
|
|
|
test: |
|
|
|
docker: |
|
|
|
- image: circleci/python:3.8 |
|
|
|
- image: circleci/python:latest |
|
|
|
- image: circleci/postgres:9.6.2-alpine |
|
|
|
environment: |
|
|
|
POSTGRES_USER: myUser |
|
|
|
@ -74,7 +74,7 @@ jobs: |
|
|
|
- checkout |
|
|
|
- run: |
|
|
|
name: Heroku deploy |
|
|
|
command: git push https://heroku:$HEROKU_API_KEY@git.heroku.com/$HEROKU_APP_NAME.git HEAD:main |
|
|
|
command: git push https://heroku:$HEROKU_API_KEY@git.heroku.com/$HEROKU_APP_NAME.git origin/main |
|
|
|
- run: |
|
|
|
name: Smoke test |
|
|
|
command: | |
|
|
|
|