From 9cec151228d7e57cf814e09bcdaf0d3d1f1d6fb1 Mon Sep 17 00:00:00 2001 From: Stephen Burrows Date: Fri, 29 Mar 2019 15:20:11 -0700 Subject: [PATCH] Updated travis.yml for pytest --- .travis.yml | 5 ++--- setup.py | 1 + 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index 56e0da4..d7e53f1 100644 --- a/.travis.yml +++ b/.travis.yml @@ -8,8 +8,7 @@ env: - DJANGO_VERSION=1.11 install: - pip install -q Django==$DJANGO_VERSION - - python setup.py -q install - - pip install .[flake8] + - pip install -e .[flake8,tests] script: - flake8 - - ./run_tests.py + - pytest diff --git a/setup.py b/setup.py index 9de20a6..58c384e 100644 --- a/setup.py +++ b/setup.py @@ -29,6 +29,7 @@ 'isort==4.3.4', 'testfixtures==6.3.0', ], + 'tests': TESTS, }