From 27e35e9344bcd17405fcad706bbec982ac851ca0 Mon Sep 17 00:00:00 2001 From: Rossen Georgiev Date: 2020年4月18日 22:06:23 +0100 Subject: [PATCH] rework travis file --- .travis.yml | 23 +++++++++++------------ Makefile | 2 +- requirements.txt | 4 ++-- 3 files changed, 14 insertions(+), 15 deletions(-) diff --git a/.travis.yml b/.travis.yml index cdd2a7c..2bc1c76 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,23 +1,22 @@ language: python -python: - - "2.7" - - "3.4" - - "3.5" - - "3.6" - - "pypy" - - "pypy3" +os: linux + jobs: include: + - python: 2.7 + - python: 3.4 + - python: 3.5 + - python: 3.6 - python: 3.7 - os: linux - python: 3.8 - os: linux + - python: "pypy" + - python: "pypy3" install: - - make init - - pip install coveralls==1.1 + - pip install -r requirements.txt + - pip install coveralls - pip install scrutinizer-ocular script: - make test + - PYTHONHASHSEED=0 python -m pytest --cov=vdf tests after_success: - coveralls - ocular --data-file ".coverage" diff --git a/Makefile b/Makefile index 458427e..0f6e06d 100644 --- a/Makefile +++ b/Makefile @@ -16,7 +16,7 @@ help: @echo "$$HELPBODY" init: - pip install -r requirements.txt + pip install -r requirements_py2.txt test: rm -f .coverage vdf/*.pyc tests/*.pyc diff --git a/requirements.txt b/requirements.txt index 9eb430b..27054f2 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,3 +1,3 @@ mock -pytest==3.3.0 -pytest-cov==2.6.0 +pytest +pytest-cov

AltStyle によって変換されたページ (->オリジナル) /