From 21a2725215dd9b0f110d316cf6c4db35b7de9aa5 Mon Sep 17 00:00:00 2001 From: Lex Berezhny Date: Sun, 29 Jul 2018 00:24:38 -0400 Subject: [PATCH] travis --- .travis.yml | 14 +++++++++----- tox.ini | 2 +- 2 files changed, 10 insertions(+), 6 deletions(-) diff --git a/.travis.yml b/.travis.yml index ee07163e2..ff4a6662e 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,8 +1,7 @@ sudo: required dist: xenial language: python -python: - - "3.6" +python: "3.7" jobs: include: @@ -16,8 +15,9 @@ jobs: - pip install -e . script: pylint lbrynet - - stage: test - name: "Unit Tests" + - &tests + stage: test + name: "Unit Tests w/ Python 3.7" install: - pip install coverage - pip install git+https://github.com/lbryio/torba.git @@ -27,9 +27,11 @@ jobs: #script: HOME=/tmp coverage run --source=lbrynet -m twisted.trial tests.functional tests.unit after_success: - bash <(curl -s https://codecov.io/bash) + - <<: *tests + name: "Unit Tests w/ Python 3.6" + python: "3.6" - name: "Integration Tests" - python: "3.7" install: - pip install tox-travis coverage - pushd .. && git clone https://github.com/lbryio/electrumx.git --branch lbryumx && popd @@ -44,6 +46,7 @@ jobs: - stage: build name: "Windows" + python: "3.6" services: - docker install: @@ -60,6 +63,7 @@ jobs: - &build name: "Linux" + python: "3.6" install: - pip3 install pyinstaller - pip3 install git+https://github.com/lbryio/torba.git diff --git a/tox.ini b/tox.ini index ced713f75..dd687c836 100644 --- a/tox.ini +++ b/tox.ini @@ -1,5 +1,5 @@ [tox] -envlist = py36-integration +envlist = py37-integration [testenv] deps =