Files
consensus-specs/circle.yml
Alex Beregszaszi bc9b7ccfd3 Add test job for running eth2.0-specs tests (#25)
Also use python:3.8.1 docker image.
2020-05-14 20:36:54 +01:00

26 lines
779 B
YAML

version: 2.0
jobs:
build:
docker:
- image: cimg/python:3.8.1
steps:
- checkout
- run:
name: Install solidity
command: |
sudo add-apt-repository ppa:ethereum/ethereum
sudo apt-get update
sudo apt-get install solc
- run:
name: Compile the contract
command: make
- run:
name: Run eth2.0-specs tests
command: |
sudo apt-get install -y python3-venv
git clone https://github.com/ethereum/eth2.0-specs
cp -f deposit_contract.json eth2.0-specs/deposit_contract/contracts/validator_registration.json
cd eth2.0-specs
make install_deposit_contract_tester
make test_deposit_contract