Skip to content

Commit

Permalink
Test distribution
Browse files Browse the repository at this point in the history
  • Loading branch information
chriddyp committed Mar 7, 2017
1 parent 3b827f4 commit fd723d2
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions circle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"

0 comments on commit fd723d2

Please sign in to comment.