File tree Expand file tree Collapse file tree 4 files changed +27
-3
lines changed Expand file tree Collapse file tree 4 files changed +27
-3
lines changed Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ test-template: &test-template
1515 - run :
1616 name : install requirements
1717 command : |
18- sudo pip install --upgrade pip setuptools ;
18+ sudo pip install --upgrade pip virtualenv ;
1919 sudo pip install -r test-requirements.txt;
2020 if [[ "$CIRCLE_JOB" != "test-3.3" ]] && [[ "$CIRCLE_JOB" != "test-3.4" ]]; then
2121 sudo pip install -r consul-requirements.txt;
@@ -32,6 +32,15 @@ test-template: &test-template
3232 else
3333 pytest -s --junitxml=test-reports/junit.xml testing;
3434 fi
35+ - run :
36+ name : test packaging/install
37+ # Note, virtualenv isn't supported on Python 3.3 and this test requires virtualenv. But we
38+ # never build our published package on 3.3 anyway.
39+ command : |
40+ if [[ "$CIRCLE_JOB" != "test-3.3" ]]; then
41+ sudo rm -rf dist *.egg-info;
42+ ./scripts/test-packaging.sh;
43+ fi
3544 - store_test_results :
3645 path : test-reports
3746 - store_artifacts :
Original file line number Diff line number Diff line change 6666.idea
6767* .iml
6868.vagrant
69- ldd /py2
70- ldd /py3
69+ test-packaging-venv
Original file line number Diff line number Diff line change 11include requirements.txt
22include README.txt
33include test-requirements.txt
4+ include consul-requirements.txt
5+ include dynamodb-requirements.txt
46include redis-requirements.txt
57include python2.6-requirements.txt
Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+
3+ set -e
4+
5+ rm -rf dist
6+ python setup.py sdist
7+
8+ rm -rf test-packaging
9+ mkdir test-packaging
10+ cd test-packaging
11+ virtualenv env
12+ source env/bin/activate
13+
14+ pip install ../dist/* .tar.gz
You can’t perform that action at this time.
0 commit comments