2018-07-18 06:02:49 +02:00
|
|
|
dist: xenial
|
2018-07-21 22:24:37 +02:00
|
|
|
sudo: true
|
2017-02-15 18:10:40 +01:00
|
|
|
language: python
|
2018-07-07 00:31:35 +02:00
|
|
|
python:
|
2018-07-18 06:02:49 +02:00
|
|
|
- "3.7"
|
2017-02-15 18:10:40 +01:00
|
|
|
|
|
|
|
addons:
|
2017-10-25 18:52:41 +02:00
|
|
|
apt:
|
2017-02-15 18:10:40 +01:00
|
|
|
packages:
|
|
|
|
- libgmp3-dev
|
|
|
|
- build-essential
|
|
|
|
- libssl-dev
|
|
|
|
- libffi-dev
|
2017-10-25 18:26:04 +02:00
|
|
|
|
2016-05-27 22:40:30 +02:00
|
|
|
install:
|
2018-07-07 00:42:05 +02:00
|
|
|
- pip install tox-travis coverage
|
2018-07-10 04:40:52 +02:00
|
|
|
- pushd .. && git clone https://github.com/lbryio/electrumx.git --branch lbryumx && popd
|
2018-07-07 00:31:35 +02:00
|
|
|
- pushd .. && git clone https://github.com/lbryio/orchstr8.git && popd
|
2018-07-07 00:42:05 +02:00
|
|
|
- pushd .. && git clone https://github.com/lbryio/lbryschema.git && popd
|
2018-07-07 00:31:35 +02:00
|
|
|
- pushd .. && git clone https://github.com/lbryio/lbryumx.git && popd
|
|
|
|
- pushd .. && git clone https://github.com/lbryio/torba.git && popd
|
2016-05-07 21:15:42 +02:00
|
|
|
|
|
|
|
script:
|
2018-07-07 00:31:35 +02:00
|
|
|
- tox
|
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
|
2018-07-07 00:31:35 +02:00
|
|
|
|
|
|
|
after_success:
|
|
|
|
- coverage combine tests/
|
|
|
|
- bash <(curl -s https://codecov.io/bash)
|
|
|
|
|
|
|
|
cache:
|
|
|
|
directories:
|
|
|
|
- $HOME/.cache/pip
|
|
|
|
- $HOME/Library/Caches/pip
|
|
|
|
- $TRAVIS_BUILD_DIR/.tox
|