forked from eth-brownie/brownie
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
96 lines (95 loc) · 3.1 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
87
88
89
90
91
92
93
94
95
96
# Based on https://github.com/cclauss/Travis-CI-Python-on-three-OSes
jobs:
include:
- name: Linting
language: python
python: 3.6
dist: bionic
install:
- python -m pip install coveralls==1.9.2 tox==3.14.3
script: tox -e lint
- name: Documentation
language: python
python: 3.6
dist: bionic
install:
- python -m pip install coveralls==1.9.2 tox==3.14.3
script: tox -e doctest
- name: EVM Tests - Python 3.7 (Linux)
language: python
python: 3.7
dist: bionic
before_install:
- sudo add-apt-repository -y ppa:ethereum/ethereum
- sudo add-apt-repository -y ppa:deadsnakes/ppa
- sudo apt-get update
- sudo apt-get install -y python3.7-dev npm solc
script: tox -e evmtest
- name: Package Tests - Python 3.7 (Linux)
language: python
python: 3.7
dist: bionic
before_install:
- sudo add-apt-repository -y ppa:ethereum/ethereum
- sudo add-apt-repository -y ppa:deadsnakes/ppa
- sudo apt-get update
- sudo apt-get install -y python3.6-dev npm solc
script: tox -e pmtest
- name: Plugin Tests - Python 3.7 (Linux)
language: python
python: 3.7
dist: bionic
before_install:
- sudo add-apt-repository -y ppa:ethereum/ethereum
- sudo add-apt-repository -y ppa:deadsnakes/ppa
- sudo apt-get update
- sudo apt-get install -y python3.8-dev npm solc
script: tox -e plugintest
- name: Standard Tests - Python 3.8 (Windows)
os: windows
language: node_js
node_js: '10'
before_install:
- choco install python --version=3.8.0
env: PATH=/c/Python38:/c/Python38/Scripts:$PATH
script: tox -e py38
- name: Standard Tests - Python 3.6 (Linux)
language: python
python: 3.6
dist: bionic
before_install:
- sudo add-apt-repository -y ppa:ethereum/ethereum
- sudo add-apt-repository -y ppa:deadsnakes/ppa
- sudo apt-get update
- sudo apt-get install -y python3.6-dev npm solc
script: tox -e py36
- name: "Standard Tests - Python 3.7 (Linux)"
language: python
python: 3.7
dist: bionic
before_install:
- sudo add-apt-repository -y ppa:ethereum/ethereum
- sudo add-apt-repository -y ppa:deadsnakes/ppa
- sudo apt-get update
- sudo apt-get install -y python3.6-dev npm solc
script: tox -e py37
- name: Standard Tests - Python 3.8 (Linux)
language: python
python: 3.8
dist: bionic
before_install:
- sudo add-apt-repository -y ppa:ethereum/ethereum
- sudo add-apt-repository -y ppa:deadsnakes/ppa
- sudo apt-get update
- sudo apt-get install -y python3.8-dev npm solc
script: tox -e py38
env:
global: COVERALLS_PARALLEL=true
install:
- python -m pip install --upgrade pip setuptools
- npm -g install [email protected]
- python -m pip install coveralls==1.9.2 tox==3.14.3
after_script: python -m coveralls
notifications:
email: false
webhooks: https://coveralls.io/webhook