From 6be95dceabcf7be81131ca350d61c8f4f0acdec5 Mon Sep 17 00:00:00 2001 From: Lex Berezhny Date: Sat, 28 Jul 2018 21:08:04 -0400 Subject: [PATCH] split unit tests and integration tests --- .travis.yml | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index 5cbdcb9ea..e1a76615c 100644 --- a/.travis.yml +++ b/.travis.yml @@ -2,8 +2,7 @@ dist: xenial sudo: true language: python -python: - - "3.7" +python: "3.7" jobs: include: @@ -19,12 +18,23 @@ jobs: - mypy torba - stage: test + python: + - "3.6" + - "3.7" name: "Unit Tests" + install: + - pip install tox-travis coverage + script: tox -e unit + after_success: + - coverage combine tests/ + - bash <(curl -s https://codecov.io/bash) + + - name: "Integration Tests" install: - pip install tox-travis coverage - pushd .. && git clone https://github.com/lbryio/electrumx.git --branch lbryumx && popd - pushd .. && git clone https://github.com/lbryio/orchstr8.git && popd - script: tox + script: tox -e integration after_success: - coverage combine tests/ - bash <(curl -s https://codecov.io/bash)