lbry-sdk/.travis.yml

43 lines
736 B
YAML
Raw Normal View History

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