forked from ethereum/web3.py
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
86 lines (86 loc) · 1.9 KB
/
.travis.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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
sudo: false
language: python
python:
- "3.5"
dist: trusty
sudo: required
before_install:
- travis_retry sudo add-apt-repository -y ppa:ethereum/ethereum
- travis_retry sudo apt-get update
- travis_retry sudo apt-get install -y ethereum
- travis_retry sudo apt-get install -y solc
- mkdir -p ~/.ethash
- geth makedag 0 ~/.ethash
env:
matrix:
# admin
- TOX_ENV=py27-admin
- TOX_ENV=py34-admin
- TOX_ENV=py35-admin
# eth
- TOX_ENV=py27-eth
- TOX_ENV=py34-eth
- TOX_ENV=py35-eth
# mining
- TOX_ENV=py27-mining
- TOX_ENV=py34-mining
- TOX_ENV=py35-mining
# providers
- TOX_ENV=py27-providers
- TOX_ENV=py34-providers
- TOX_ENV=py35-providers
# version
- TOX_ENV=py27-version
- TOX_ENV=py34-version
- TOX_ENV=py35-version
# contracts
- TOX_ENV=py27-contracts
- TOX_ENV=py34-contracts
- TOX_ENV=py35-contracts
# filtering
- TOX_ENV=py27-filtering
- TOX_ENV=py34-filtering
- TOX_ENV=py35-filtering
# net
- TOX_ENV=py27-net
- TOX_ENV=py34-net
- TOX_ENV=py35-net
# shh
- TOX_ENV=py27-shh
- TOX_ENV=py34-shh
- TOX_ENV=py35-shh
# txpool
- TOX_ENV=py27-txpool
- TOX_ENV=py34-txpool
- TOX_ENV=py35-txpool
# db
- TOX_ENV=py27-db
- TOX_ENV=py34-db
- TOX_ENV=py35-db
# managers
- TOX_ENV=py27-managers
- TOX_ENV=py34-managers
- TOX_ENV=py35-managers
# personal
- TOX_ENV=py27-personal
- TOX_ENV=py34-personal
- TOX_ENV=py35-personal
# utilities
- TOX_ENV=py27-utilities
- TOX_ENV=py34-utilities
- TOX_ENV=py35-utilities
- TOX_ENV=flake8
cache:
pip: true
directories:
- $HOME/.ethash
- $TRAVIS_BUILD_DIR/.tox/
install:
- "travis_retry pip install setuptools --upgrade"
- "travis_retry pip install tox"
before_script:
- geth version
script:
- tox -e $TOX_ENV
after_script:
- cat .tox/$TOX_ENV/log/*.log