Skip to content
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

update travis py27 tests #264

Merged
merged 1 commit into from
Oct 20, 2017
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
42 changes: 0 additions & 42 deletions .travis_install.sh

This file was deleted.

16 changes: 0 additions & 16 deletions .travis_test.sh

This file was deleted.

21 changes: 10 additions & 11 deletions ci/.travis_install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
set -e

if [ "${TRAVIS_PYTHON_VERSION}" == "2.7" ]; then
wget https://repo.continuum.io/miniconda/Miniconda-latest-Linux-x86_64.sh -O miniconda.sh;
wget https://repo.continuum.io/miniconda/Miniconda-latest-Linux-x86_64.sh -O miniconda.sh
else
wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh;
wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh
fi

bash miniconda.sh -b -p $HOME/miniconda
Expand All @@ -16,28 +16,27 @@ conda update -q conda
conda info -a

if [ "${LATEST}" = "true" ]; then
conda create -q -n test-environment python=$TRAVIS_PYTHON_VERSION numpy scipy pandas scikit-learn;
conda create -q -n test-environment python=$TRAVIS_PYTHON_VERSION numpy scipy pandas scikit-learn
else
conda create -q -n test-environment python=$TRAVIS_PYTHON_VERSION numpy=$NUMPY_VERSION scipy=$SCIPY_VERSION pandas=$PANDAS_VERSION scikit-learn=$SKLEARN_VERSION;
conda create -q -n test-environment python=$TRAVIS_PYTHON_VERSION numpy=$NUMPY_VERSION scipy=$SCIPY_VERSION pandas=$PANDAS_VERSION scikit-learn=$SKLEARN_VERSION
fi

source activate test-environment

pip install nose;
conda install jupyter matplotlib
pip install nose

if [ "${COVERAGE}" = "true" ]; then
pip install coverage coveralls codecov;
pip install coverage coveralls codecov
fi

python --version
python -c "import pandas; print('pandas %s' % pandas.__version__)";
python -c "import pandas; print('pandas %s' % pandas.__version__)"
python -c "import numpy; print('numpy %s' % numpy.__version__)"
python -c "import scipy; print('scipy %s' % scipy.__version__)"
python -c "import sklearn; print('sklearn %s' % sklearn.__version__)";
python -c "import sklearn; print('sklearn %s' % sklearn.__version__)"



if [ "${NOTEBOOKS}" = "true" ]; then
conda install jupyter matplotlib
fi

python setup.py install;
2 changes: 2 additions & 0 deletions ci/.travis_test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ set -e

if [[ "$COVERAGE" == "true" ]]; then
nosetests -s -v --with-coverage
else
nosetests -s -v
fi

if [[ "$NOTEBOOKS" == "true" ]]; then
Expand Down