2017-02-15 18:10:40 +01:00
|
|
|
os: linux
|
|
|
|
dist: trusty
|
|
|
|
language: python
|
|
|
|
python: 2.7
|
2016-05-07 21:15:42 +02:00
|
|
|
|
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
|
2016-07-18 21:50:05 +02:00
|
|
|
- $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:
|
2018-04-18 16:13:03 +02:00
|
|
|
- pip install -U pip==9.0.3
|
2017-02-15 17:55:48 +01:00
|
|
|
- pip install -r requirements.txt
|
2018-05-02 01:39:00 +02:00
|
|
|
- pip install -r requirements_testing.txt
|
2017-02-15 17:55:48 +01:00
|
|
|
- pip install .
|
2016-05-07 21:15:42 +02:00
|
|
|
|
|
|
|
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
|