forked from ApeWorX/py-solc-x
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
60 lines (57 loc) · 1.93 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
# Based on https://github.com/cclauss/Travis-CI-Python-on-three-OSes
matrix:
include:
- name: "Python 3.7.4 on Windows"
os: windows # Windows 10.0.17134 N/A Build 17134
language: shell # 'language: python' is an error on Travis CI Windows
install:
- choco install python --version=3.7.4
- python -m pip install --upgrade pip
- pip3 install -r requirements-dev.txt
env: PATH=/c/Python37:/c/Python37/Scripts:$PATH
script: python -m pytest tests --cov=solcx
after_success: python -m coveralls
- name: "Python 3.8.0 on Xenial Linux"
language: python
python: 3.8
dist: xenial
sudo: true
install:
- sudo add-apt-repository -y ppa:ethereum/ethereum
- sudo apt-get update
- sudo apt-get install -y solc
- pip install -r requirements-dev.txt
script: python -m pytest tests --cov=solcx
after_success: python -m coveralls
- name: "Python 3.7.1 on Xenial Linux"
language: python
python: 3.7
dist: xenial
sudo: true
install:
- sudo add-apt-repository -y ppa:ethereum/ethereum
- sudo apt-get update
- sudo apt-get install -y solc
- pip install -r requirements-dev.txt
- pip install flake8
script:
- flake8 solcx/ tests/ --max-line-length=100
- python -m pytest tests --cov=solcx
after_success: python -m coveralls
- name: "Python 3.6.8 on Xenial Linux"
language: python
python: 3.6
dist: xenial
sudo: true
install:
- sudo add-apt-repository -y ppa:ethereum/ethereum
- sudo apt-get update
- sudo apt-get install -y solc
- pip install -r requirements-dev.txt
script: python -m pytest tests --cov=solcx
after_success: python -m coveralls
env:
global: COVERALLS_PARALLEL=true
notifications:
email: false
webhooks: https://coveralls.io/webhook