From f8046544a4dcb26fdc48d4c93a40c20d9d47451e Mon Sep 17 00:00:00 2001 From: Guyzmo Date: Mon, 8 May 2017 16:47:20 +0200 Subject: [PATCH] Updated travis configuration to use pytest Signed-off-by: Guyzmo --- .travis.yml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/.travis.yml b/.travis.yml index 75e6130..394c960 100644 --- a/.travis.yml +++ b/.travis.yml @@ -5,11 +5,13 @@ python: - '3.4' - '3.5' install: -- pip install -r requirements.txt -- pip install -r test_requirements.txt -- pip install coveralls +- virtualenv var +- var/bin/pip install -U pip +- var/bin/pip install -r requirements.txt +- var/bin/pip install -r test_requirements.txt +- var/bin/pip install coveralls pytest pytest-cov script: - coverage run --source=gogs_client setup.py test + var/bin/coverage run --source=gogs_client var/bin/pytest tests --cov=gogs_client --cov-report term-missing after_success: coveralls deploy: