lbry-sdk/.travis.yml

43 lines
736 B
YAML
Raw Normal View History

2017-02-15 11:10:40 -06:00
os: linux
dist: trusty
language: python
python: 2.7
2017-10-25 12:26:04 -04:00
branches:
except:
- gh-pages
2017-04-10 15:13:04 -04:00
2016-06-27 11:21:30 -05:00
cache:
directories:
- $HOME/.cache/pip
- $HOME/Library/Caches/pip
- $TRAVIS_BUILD_DIR/cache/wheel
2017-02-15 11:10:40 -06:00
addons:
2017-10-25 12:52:41 -04:00
#srcclr:
# debug: true
apt:
2017-02-15 11:10:40 -06:00
packages:
- libgmp3-dev
- build-essential
- git
- libssl-dev
- libffi-dev
2017-10-25 12:26:04 -04:00
2017-02-15 11:01:37 -06:00
before_install:
- virtualenv venv
- source venv/bin/activate
2016-05-27 15:40:30 -05:00
install:
- pip install -U pip==9.0.3
2017-02-15 10:55:48 -06:00
- pip install -r requirements.txt
- pip install -r requirements_testing.txt
2017-02-15 10:55:48 -06:00
- pip install .
script:
2018-03-14 18:12:40 -04:00
- pip install mock pylint
2017-04-10 21:42:33 -04:00
- pylint lbrynet
2017-09-28 18:21:26 +01:00
- PYTHONPATH=. trial lbrynet.tests
2017-06-21 21:22:17 -04:00
- rvm install ruby-2.3.1
2017-02-15 11:43:32 -06:00
- rvm use 2.3.1 && gem install danger --version '~> 4.0' && danger