|
|
|
@ -2,7 +2,7 @@ version: 2.1 |
|
|
|
jobs: |
|
|
|
build: |
|
|
|
docker: |
|
|
|
- image: circleci/python:3.7.3 |
|
|
|
- image: circleci/python:3.7.4 |
|
|
|
steps: |
|
|
|
- checkout |
|
|
|
- run: |
|
|
|
@ -21,7 +21,7 @@ jobs: |
|
|
|
key: v3-dependencies-{{ checksum "requirements/dev.txt" }}-{{ checksum "requirements/prod.txt" }} |
|
|
|
start_test: |
|
|
|
docker: |
|
|
|
- image: circleci/python:3.7.3 |
|
|
|
- image: circleci/python:3.7.4 |
|
|
|
environment: |
|
|
|
DATABASE_URL: postgresql://myuser:somePwd@localhost:5432/mydb |
|
|
|
- image: circleci/postgres:9.6.5 |
|
|
|
@ -69,14 +69,6 @@ jobs: |
|
|
|
paths: |
|
|
|
- ./venv |
|
|
|
key: v3-dependencies-{{ checksum "requirements/dev.txt" }}-{{ checksum "requirements/prod.txt" }} |
|
|
|
back-deploy-heroku: |
|
|
|
docker: |
|
|
|
- image: buildpack-deps:trusty |
|
|
|
steps: |
|
|
|
- checkout |
|
|
|
- run: |
|
|
|
name: Heroku Deploy |
|
|
|
command: git push https://heroku:$HEROKU_API_KEY@git.heroku.com/$HEROKU_APP_NAME.git HEAD:master |
|
|
|
workflows: |
|
|
|
version: 2.1 |
|
|
|
build_circleci: |
|
|
|
|