From bd851787749d8fc27501adca9b2784f719cff469 Mon Sep 17 00:00:00 2001 From: Thomas Robitaille Date: Mon, 25 Feb 2019 17:03:19 +0000 Subject: [PATCH] Use pyargs --- .travis.yml | 3 +++ tox.ini | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index d23ddb76e857..5aa63da75760 100644 --- a/.travis.yml +++ b/.travis.yml @@ -4,6 +4,9 @@ python: - "3.5" - "3.6" +install: + - pip install tox + script: - tox -e test -v - tox -e build_docs -v diff --git a/tox.ini b/tox.ini index 07d11b5065eb..1b82a2e336d1 100644 --- a/tox.ini +++ b/tox.ini @@ -5,7 +5,7 @@ passenv = HOME LC_ALL LC_CTYPE CC CFLAGS deps = pytest-astropy commands = - python astropy + pytest --pyargs astropy [testenv:build_docs] deps =