lbry-sdk/.travis.yml

36 lines
1.4 KiB
YAML
Raw Normal View History

matrix:
include:
- os: linux
sudo: required
2016-06-10 08:22:51 +02:00
dist: trusty
# dh-virtualenv requires that we use the same python interpreter
# that comes with the system, so we don't want to use anything that
# travis would try to set-up for us in python
language: generic
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
- $TRAVIS_BUILD_DIR/cache/wheel
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 .
script:
2017-02-15 17:55:48 +01:00
- ./run_pylint.sh
- pip install mock trial
- ./run_tests.sh
2017-02-15 18:01:37 +01:00
- rvm use 2.3.1 && gem install danger --version '~> 4.0' && danger; fi