Skip to content

TST: adding sdist and install tests to the 2.6 regression - closes #9878 #9956

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 21, 2015
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ matrix:
- LOCALE_OVERRIDE="it_IT.UTF-8"
- BUILD_TYPE=conda
- JOB_NAME: "26_nslow_nnet"
- INSTALL_TEST=true
- python: 2.7
env:
- NOSE_ARGS="slow and not network and not disabled"
Expand Down Expand Up @@ -183,6 +184,7 @@ script:
# nothing here, or failed tests won't fail travis

after_script:
- ci/install_test.sh
- if [ -f /tmp/doc.log ]; then cat /tmp/doc.log; fi
- source activate pandas && ci/print_versions.py
- ci/print_skipped.py /tmp/nosetests.xml
Expand Down
17 changes: 17 additions & 0 deletions ci/install_test.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
#!/bin/bash

echo "inside $0"

if [ "$INSTALL_TEST" ]; then
source activate pandas
echo "Starting installation test."
conda uninstall cython || exit 1
python "$TRAVIS_BUILD_DIR"/setup.py sdist --formats=zip,gztar || exit 1
pip install "$TRAVIS_BUILD_DIR"/dist/*tar.gz || exit 1
nosetests --exe -A "$NOSE_ARGS" pandas/tests/test_series.py --with-xunit --xunit-file=/tmp/nosetests_install.xml
else
echo "Skipping installation test."
fi
RET="$?"

exit "$RET"