Skip to content

Commit fd723d2

Browse files
committed
Test distribution
1 parent 3b827f4 commit fd723d2

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

Diff for: circle.yml

+10
Original file line numberDiff line numberDiff line change
@@ -58,3 +58,13 @@ test:
5858
# since optional requirements is part of the test suite, we don't need to
5959
# worry about testing that it *can* be imported in this case.
6060
- $(! python -c "import plotly.figure_factory")
61+
62+
# test the distribution and a basic import
63+
- rm -rf dist/ &&
64+
python setup.py sdist &&
65+
mkdir test_install &&
66+
cd test_install &&
67+
virtualenv venv &&
68+
source venv/bin/activate &&
69+
pip install ../dist/* &&
70+
python -c "import plotly"

0 commit comments

Comments
 (0)