diff --git a/.travis.yml b/.travis.yml index c7a5f3e0..a3ac661f 100644 --- a/.travis.yml +++ b/.travis.yml @@ -21,7 +21,7 @@ matrix: - pip install flake8 coverage script: - flake8 - - BOKEH_BROWSER=none catchsegv coverage run setup.py test + - BOKEH_BROWSER=none catchsegv coverage run -m backtesting.test after_success: - bash <(curl -s https://codecov.io/bash) @@ -42,4 +42,4 @@ install: - pip install --pre .[test] script: - - BOKEH_BROWSER=none time catchsegv python setup.py test + - BOKEH_BROWSER=none time catchsegv python -m backtesting.test diff --git a/backtesting/test/__main__.py b/backtesting/test/__main__.py index 89c8911b..9aed740a 100644 --- a/backtesting/test/__main__.py +++ b/backtesting/test/__main__.py @@ -3,4 +3,4 @@ suite = unittest.defaultTestLoader.discover('backtesting.test', pattern='_test*.py') if __name__ == '__main__': - unittest.TextTestRunner().run(suite) + unittest.TextTestRunner(verbosity=2).run(suite)