Skip to content
Snippets Groups Projects
Commit 43f4e28c authored by Jean-Paul Calderone's avatar Jean-Paul Calderone
Browse files

Try to use pip-sync to consume the pip-compiled things

parent b0dd2e2e
No related branches found
No related tags found
1 merge request!71.pip tools
......@@ -15,19 +15,27 @@
version: 2
jobs:
sharing:
- run: &PREPARE_VIRTUALENV
name: "Prepare virtualenv"
command: |
virtualenv venv
. venv/bin/activate
pip install --upgrade certifi pip pip-tools
documentation:
docker:
- image: "circleci/python:3.7"
steps:
- "checkout"
- <<: *PREPARE_VIRTUALENV
- run:
name: "Sphinx Documentation Build"
command: |
virtualenv venv
. venv/bin/activate
pip install --upgrade pip
pip install -r docs/requirements.txt
pip-sync docs/requirements.txt
sphinx-build docs/source docs/build
- store_artifacts:
......@@ -40,13 +48,13 @@ jobs:
steps:
- "checkout"
- << *PREPARE_VIRTUALENV
- run:
name: "Run Test Suite"
command: |
virtualenv venv
. venv/bin/activate
pip install --upgrade pip
pip install -r requirements.txt -r requirements-tests.txt
pip-sync requirements.txt requirements-tests.txt
pip install .
coverage run -m twisted.trial _secureaccesstokenauthorizer
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment