Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- version: 2
- jobs:
- build:
- docker:
- - image: circleci/python:3.6.2-stretch-browsers
- environment:
- FLASK_CONFIG: testing
- TEST_DATABASE_URL: postgresql://ubuntu@localhost/circle_test?sslmode=disable
- - image: circleci/postgres:9.6.5-alpine-ram
- environment:
- POSTGRES_USER: ubuntu
- POSTGRES_DB: circle_test
- POSTGRES_PASSWORD: ""
- steps:
- - checkout
- - restore_cache:
- key: deps1-{{ .Branch }}-{{ checksum "requirements/dev.txt" }}
- - run:
- name: Install Python deps in a venv
- command: |
- python3 -m venv venv
- . venv/bin/activate
- pip install -r requirements/dev.txt
- - save_cache:
- key: deps1-{{ .Branch }}-{{ checksum "requirements/dev.txt" }}
- paths:
- - "venv"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement