Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Vendor ethPM #1379

Merged
merged 10 commits into from
Jul 11, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
50 changes: 50 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,40 @@ geth_steps: &geth_steps
- ~/.py-geth
key: cache-{{ .Environment.CIRCLE_JOB }}-{{ checksum "setup.py" }}-{{ checksum "tox.ini" }}

ethpm_steps: &ethpm_steps
working_directory: ~/repo
steps:
- checkout
- restore_cache:
keys:
- cache-{{ .Environment.CIRCLE_JOB }}-{{ checksum "setup.py" }}-{{ checksum "tox.ini" }}
- run:
name: install ipfs
command:
wget https://dist.ipfs.io/go-ipfs/v0.4.19/go-ipfs_v0.4.19_linux-amd64.tar.gz &&
tar xvfz go-ipfs_v0.4.19_linux-amd64.tar.gz &&
sudo cp go-ipfs/ipfs /usr/local/bin &&
ipfs init
- run:
name: start ipfs node in background
command: ipfs daemon
background: true
- run:
name: install dependencies
command: pip install --user tox
- run:
name: run tox
command: ~/.local/bin/tox -r
- save_cache:
paths:
- .tox
- ~/.cache/pip
- ~/.local
- ./eggs
- ~/.ethash
- ~/.py-geth
key: cache-{{ .Environment.CIRCLE_JOB }}-{{ checksum "setup.py" }}-{{ checksum "tox.ini" }}


jobs:
#
Expand Down Expand Up @@ -139,6 +173,13 @@ jobs:
environment:
TOXENV: py36-ens

py36-ethpm:
<<: *ethpm_steps
docker:
- image: circleci/python:3.6
environment:
TOXENV: py36-ethpm

py36-integration-goethereum-ipc-1.7.2:
<<: *geth_steps
docker:
Expand Down Expand Up @@ -238,6 +279,13 @@ jobs:
environment:
TOXENV: py37-ens

py37-ethpm:
<<: *ethpm_steps
docker:
- image: circleci/python:3.7
environment:
TOXENV: py37-ethpm

py37-integration-goethereum-ipc-1.7.2:
<<: *geth_steps
docker:
Expand Down Expand Up @@ -329,6 +377,7 @@ workflows:
- doctest
- py36-core
- py36-ens
- py36-ethpm
- py36-integration-goethereum-ipc-1.7.2
- py36-integration-goethereum-http-1.7.2
- py36-integration-goethereum-ws-1.7.2
Expand All @@ -341,6 +390,7 @@ workflows:
- py36-integration-ethtester-pyevm
- py37-core
- py37-ens
- py37-ethpm
- py37-integration-goethereum-ipc-1.7.2
- py37-integration-goethereum-http-1.7.2
- py37-integration-goethereum-ws-1.7.2
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ test-all:
tox

build-docs:
sphinx-apidoc -o docs/ . setup.py "web3/utils/*" "*conftest*" "tests"
sphinx-apidoc -o docs/ . setup.py "web3/utils/*" "*conftest*" "tests" "ethpm"
$(MAKE) -C docs clean
$(MAKE) -C docs html
$(MAKE) -C docs doctest
Expand Down
Loading