forked from stacks-network/stacks-core
-
Notifications
You must be signed in to change notification settings - Fork 0
/
circle.yml
29 lines (29 loc) · 1.02 KB
/
circle.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
version: 2
jobs:
build:
working_directory: ~/blockstack
docker:
- image: circleci/python:2.7
environment:
PIPENV_VENV_IN_PROJECT: true
steps:
- checkout
- restore_cache:
key: deps9-{{ .Branch }}-{{ checksum "setup.py" }}-{{ checksum "integration_tests/setup.py" }}
- run:
command: |
python -m virtualenv venv
source venv/bin/activate
pip install ./integration_tests --upgrade --upgrade-strategy only-if-needed
pip install . --upgrade --upgrade-strategy only-if-needed
- save_cache:
key: deps9-{{ .Branch }}-{{ checksum "setup.py" }}-{{ checksum "integration_tests/setup.py" }}
paths:
- "venv"
- run:
command: |
source venv/bin/activate
blockstack setup -y --password PASSWORD
blockstack api start -y --password PASSWORD
python -m blockstack_integration_tests.live_tests.api_tests
blockstack api stop -y