forked from raiden-network/raiden-contracts
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
35 lines (28 loc) · 882 Bytes
/
.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
dist: trusty
sudo: true
language: generic
jobs:
include:
- language: python
python: '3.5'
env:
- TEST_TYPE=raiden_contracts
- SOLC_URL='https://github.com/ethereum/solidity/releases/download/v0.4.23/solc-static-linux'
- SOLC_VERSION='v0.4.23'
cache:
pip: true
directories:
- $HOME/.cache/pip
before_install:
- mkdir -p $HOME/.bin
- export PATH=$PATH:$HOME/.bin
- ./.travis/download_solc.sh
install:
- pip install -U pip wheel coveralls "coverage<4.4"
- pip install pytest-travis-fold
- pip install -r requirements-dev.txt
- python setup.py compile_contracts
before_script:
- flake8 raiden_contracts/
script:
- coverage run --source raiden_contracts/ -m py.test --travis-fold=always $TEST_TYPE