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-04-10 21:13:04 +02:00
|
|
|
addons:
|
2017-04-10 21:22:36 +02:00
|
|
|
srcclr:
|
|
|
|
debug: true
|
2017-04-10 21:13:04 +02:00
|
|
|
|
2016-07-07 19:06:07 +02:00
|
|
|
notifications:
|
2016-07-11 19:05:27 +02:00
|
|
|
slack:
|
2016-07-12 21:48:13 +02:00
|
|
|
secure: "Am13HPtpgCMljh0MDVuoFHvQXB8yhf4Kvf/qAeSp5N0vsHGL70CSF9Ahccw8dVPE6mbuak1OGtSUb6/UaErLHkpz3ztaRLkDa9x7CmBB3Kynnh8oO2VbB7b/2ROULqkhF4VZmAnNfwrQrbC3gs8Sybp261Nyc7y4ww15xDYBrk2fyq4ds2DCaJdRxfJUJFonrZ6KXr3fVaXosO6cjuyS8eRodcmrqsT4cCtinjNTD1hGWoH107E4ObSmpVelxQO193KhNJMRiLlEcVkvYUOqIWBtwdGHbNE/6Yeuq1TXgKJ0KeJWAmW3wTfUYNngGXNAsyCnrhul5TKNevNzfIAQZHvRsczYiWPJV6LtohHT0CcUiCXJtvEPOyahEBfwK3etY/xxFqny7N9OEmpdW2sgsEPNPX2LJynJti2rQA9SuAD1ogR3ZpDy/NXoaAZf8PTdPcuNUMULV9PGG7tVrLBecO/W1qO6hdFxwlLdgqGLxAENZgGp++v/DhPk/WvtmHj7iTbRq0nxaTWyX5uKOn2ADH+k/yfutjv6BsQU9xNyPeZEEtuEpc6X6waiYn/8G9vl9PecvKC5H0MgsZ6asAxmg7mZ3VSMFG7mo8ENeOhSZ0Oz6ZTBILL3wFccZA9uJIq7NWmqC9dRiGiuKXBB62No7sINoHg3114e2xYa9qvNmGg="
|
2016-07-07 19:06:07 +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:
|
|
|
|
apt:
|
|
|
|
packages:
|
|
|
|
- libgmp3-dev
|
|
|
|
- build-essential
|
|
|
|
- git
|
|
|
|
- libssl-dev
|
|
|
|
- libffi-dev
|
2016-06-20 10:42:43 +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:
|
2017-02-15 17:55:48 +01:00
|
|
|
- pip install -U pip
|
|
|
|
- pip install -r requirements.txt
|
|
|
|
- pip install .
|
2016-05-07 21:15:42 +02:00
|
|
|
|
|
|
|
script:
|
2017-02-15 18:35:49 +01:00
|
|
|
- pip install cython
|
|
|
|
- pip install mock pylint unqlite
|
2017-04-11 03:42:33 +02:00
|
|
|
- pylint lbrynet
|
|
|
|
- PYTHONPATH=. trial tests
|
2017-05-30 18:11:38 +02:00
|
|
|
- python -m unittest discover tests/integration
|
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
|