forked from oceanprotocol/ocean.py
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtox.ini
30 lines (27 loc) · 981 Bytes
/
tox.ini
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
30
[tox]
envlist = py36
[travis]
python =
3.6: py36
[testenv]
passenv = CODACY_PROJECT_TOKEN
setenv =
TEST_NET=ganache
PYTHONPATH = {toxinidir}
CONFIG_FILE = {toxinidir}/config_local.ini
TEST_PRIVATE_KEY1=0xbbfbee4961061d506ffbb11dfea64eba16355cbf1d9c29613126ba7fec0aed5d
TEST_PRIVATE_KEY2=0x804365e293b9fab9bd11bddd39082396d56d30779efbb3ffb0a6089027902c4a
FACTORY_DEPLOYER_PRIVATE_KEY=0xc594c6e5def4bab63ac29eed19a134c130388f74f019bc74b8f4389df2837a58
ARTIFACTS_PATH=~/.ocean/ocean-contracts/artifacts
deps =
-r{toxinidir}/requirements_dev.txt
; If you want to make tox run the tests with the same versions, create a
; requirements.txt with the pinned versions and uncomment the following line:
; -r{toxinidir}/requirements.txt
commands =
pip install -U pip
pip list
python deploy.py ganache
coverage run --source ocean_lib -m --omit ocean_lib/examples/* py.test --basetemp={envtmpdir}
coverage report
coverage xml