Skip to content

Commit f99dc7b

Browse files
committed
Merge pull request #9956 from ajamian/master
TST: adding sdist and install tests to the 2.6 regression - closes #9878
2 parents 7d550ef + 82aa283 commit f99dc7b

File tree

2 files changed

+19
-0
lines changed

2 files changed

+19
-0
lines changed

.travis.yml

+2
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ matrix:
2222
- LOCALE_OVERRIDE="it_IT.UTF-8"
2323
- BUILD_TYPE=conda
2424
- JOB_NAME: "26_nslow_nnet"
25+
- INSTALL_TEST=true
2526
- python: 2.7
2627
env:
2728
- NOSE_ARGS="slow and not network and not disabled"
@@ -183,6 +184,7 @@ script:
183184
# nothing here, or failed tests won't fail travis
184185

185186
after_script:
187+
- ci/install_test.sh
186188
- if [ -f /tmp/doc.log ]; then cat /tmp/doc.log; fi
187189
- source activate pandas && ci/print_versions.py
188190
- ci/print_skipped.py /tmp/nosetests.xml

ci/install_test.sh

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
#!/bin/bash
2+
3+
echo "inside $0"
4+
5+
if [ "$INSTALL_TEST" ]; then
6+
source activate pandas
7+
echo "Starting installation test."
8+
conda uninstall cython || exit 1
9+
python "$TRAVIS_BUILD_DIR"/setup.py sdist --formats=zip,gztar || exit 1
10+
pip install "$TRAVIS_BUILD_DIR"/dist/*tar.gz || exit 1
11+
nosetests --exe -A "$NOSE_ARGS" pandas/tests/test_series.py --with-xunit --xunit-file=/tmp/nosetests_install.xml
12+
else
13+
echo "Skipping installation test."
14+
fi
15+
RET="$?"
16+
17+
exit "$RET"

0 commit comments

Comments
 (0)