From fd723d25dbfb812eb252ca58034882678ecf7e49 Mon Sep 17 00:00:00 2001 From: chriddyp Date: Tue, 7 Mar 2017 14:36:33 -0500 Subject: [PATCH] Test distribution --- circle.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/circle.yml b/circle.yml index 29fb8d4fa11..0703e482f2c 100644 --- a/circle.yml +++ b/circle.yml @@ -58,3 +58,13 @@ test: # since optional requirements is part of the test suite, we don't need to # worry about testing that it *can* be imported in this case. - $(! python -c "import plotly.figure_factory") + + # test the distribution and a basic import + - rm -rf dist/ && + python setup.py sdist && + mkdir test_install && + cd test_install && + virtualenv venv && + source venv/bin/activate && + pip install ../dist/* && + python -c "import plotly"