Skip to content

Commit

Permalink
CI: remove PIP & old conda build in favor of pandas-ci buildsx (#19775)
Browse files Browse the repository at this point in the history
  • Loading branch information
jreback authored Feb 19, 2018
1 parent 718d067 commit a76e5b4
Show file tree
Hide file tree
Showing 7 changed files with 6 additions and 81 deletions.
17 changes: 2 additions & 15 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,6 @@ matrix:
packages:
- python-gtk2
# In allow_failures
- dist: trusty
env:
- JOB="3.5" TEST_ARGS="--skip-slow --skip-network"
- dist: trusty
env:
- JOB="3.6" TEST_ARGS="--skip-slow --skip-network" PANDAS_TESTING_MODE="deprecate" CONDA_FORGE=true COVERAGE=true
Expand All @@ -63,36 +60,26 @@ matrix:
# In allow_failures
- dist: trusty
env:
- JOB="3.6_PIP_BUILD_TEST" TEST_ARGS="--skip-slow" PIP_BUILD_TEST=true
- JOB="3.6_NUMPY_DEV" TEST_ARGS="--skip-slow --skip-network" PANDAS_TESTING_MODE="deprecate"
addons:
apt:
packages:
- xsel
# In allow_failures
- dist: trusty
env:
- JOB="3.6_NUMPY_DEV" TEST_ARGS="--skip-slow --skip-network" PANDAS_TESTING_MODE="deprecate"
# In allow_failures
- dist: trusty
env:
- JOB="3.6_DOC" DOC=true
allow_failures:
- dist: trusty
env:
- JOB="3.5" TEST_ARGS="--skip-slow --skip-network"
- dist: trusty
env:
- JOB="2.7_SLOW" SLOW=true
- dist: trusty
env:
- JOB="3.6_PIP_BUILD_TEST" TEST_ARGS="--skip-slow" PIP_BUILD_TEST=true
- JOB="3.6_NUMPY_DEV" TEST_ARGS="--skip-slow --skip-network" PANDAS_TESTING_MODE="deprecate"
addons:
apt:
packages:
- xsel
- dist: trusty
env:
- JOB="3.6_NUMPY_DEV" TEST_ARGS="--skip-slow --skip-network" PANDAS_TESTING_MODE="deprecate"
- dist: trusty
env:
- JOB="3.6_DOC" DOC=true
Expand Down
28 changes: 2 additions & 26 deletions ci/install_travis.sh
Original file line number Diff line number Diff line change
Expand Up @@ -115,15 +115,6 @@ if [ "$COVERAGE" ]; then
pip install coverage pytest-cov
fi

echo
if [ -z "$PIP_BUILD_TEST" ] ; then

# build but don't install
echo "[build em]"
time python setup.py build_ext --inplace || exit 1

fi

# we may have run installations
echo
echo "[conda installs]"
Expand Down Expand Up @@ -161,23 +152,8 @@ conda list pandas
pip list --format columns |grep pandas

# build and install
echo

if [ "$PIP_BUILD_TEST" ]; then

# build & install testing
echo "[building release]"
time bash scripts/build_dist_for_release.sh || exit 1
conda uninstall -y cython
time pip install dist/*tar.gz || exit 1

else

# install our pandas
echo "[running setup.py develop]"
python setup.py develop || exit 1

fi
echo "[running setup.py develop]"
python setup.py develop || exit 1

echo
echo "[show pandas]"
Expand Down
6 changes: 0 additions & 6 deletions ci/requirements-3.6_PIP_BUILD_TEST.build

This file was deleted.

6 changes: 0 additions & 6 deletions ci/requirements-3.6_PIP_BUILD_TEST.pip

This file was deleted.

7 changes: 0 additions & 7 deletions ci/requirements-3.6_PIP_BUILD_TEST.sh

This file was deleted.

18 changes: 1 addition & 17 deletions ci/script_multi.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,23 +23,7 @@ fi
export PYTHONHASHSEED=$(python -c 'import random; print(random.randint(1, 4294967295))')
echo PYTHONHASHSEED=$PYTHONHASHSEED

if [ "$PIP_BUILD_TEST" ] ; then
echo "[build-test]"

echo "[env]"
pip list --format columns |grep pandas

echo "[running]"
cd /tmp
unset PYTHONPATH

echo "[build-test: single]"
python -c 'import pandas; pandas.test(["--skip-slow", "--skip-network", "-r xX", "-m single"])'

echo "[build-test: not single]"
python -c 'import pandas; pandas.test(["-n 2", "--skip-slow", "--skip-network", "-r xX", "-m not single"])'

elif [ "$DOC" ]; then
if [ "$DOC" ]; then
echo "We are not running pytest as this is a doc-build"

elif [ "$COVERAGE" ]; then
Expand Down
5 changes: 1 addition & 4 deletions ci/script_single.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,7 @@ if echo "$TEST_ARGS" | grep -e --skip-network -q; then
export http_proxy=http://1.2.3.4 https_proxy=http://1.2.3.4;
fi

if [ "$PIP_BUILD_TEST" ]; then
echo "We are not running pytest as this is a build test."

elif [ "$DOC" ]; then
if [ "$DOC" ]; then
echo "We are not running pytest as this is a doc-build"

elif [ "$COVERAGE" ]; then
Expand Down

0 comments on commit a76e5b4

Please sign in to comment.