From 49a74089684a0acb38b783ee323ffb76634dab3e Mon Sep 17 00:00:00 2001 From: Lex Berezhny Date: Fri, 6 Jul 2018 18:42:05 -0400 Subject: [PATCH] travis-ci stuff: only run pylint for py27 in tox and checkout lbryschema --- .travis.yml | 4 ++-- tox.ini | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index ce3545e2a..2544bfc40 100644 --- a/.travis.yml +++ b/.travis.yml @@ -12,14 +12,14 @@ addons: - libffi-dev install: - - pip install tox-travis coverage pylint + - pip install tox-travis coverage - pushd .. && git clone https://github.com/lbryio/electrumx.git --branch packages && popd - pushd .. && git clone https://github.com/lbryio/orchstr8.git && popd + - pushd .. && git clone https://github.com/lbryio/lbryschema.git && popd - pushd .. && git clone https://github.com/lbryio/lbryumx.git && popd - pushd .. && git clone https://github.com/lbryio/torba.git && popd script: - - pylint lbrynet - tox - rvm install ruby-2.3.1 - rvm use 2.3.1 && gem install danger --version '~> 4.0' && danger diff --git a/tox.ini b/tox.ini index 438aae8ae..0a83f2d2a 100644 --- a/tox.ini +++ b/tox.ini @@ -6,6 +6,7 @@ deps = coverage ../torba ../lbryschema + unit: pylint integration: ../electrumx integration: ../orchstr8 integration: ../lbryumx @@ -15,6 +16,7 @@ setenv = HOME=/tmp integration: LEDGER=lbrynet.wallet commands = + unit: pylint lbrynet unit: coverage run -p --source={envsitepackagesdir}/lbrynet -m twisted.trial functional unit integration: orchstr8 download integration: coverage run -p --source={envsitepackagesdir}/lbrynet -m twisted.trial --reactor=asyncio integration.wallet.test_transactions