Skip to content

Commit d6afd78

Browse files
committed
Merge remote-tracking branch 'origin/master' into is/9360
2 parents 9cdab31 + 906ccbc commit d6afd78

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

56 files changed

+506
-601
lines changed

.travis.yml

Lines changed: 15 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -25,19 +25,24 @@ env:
2525
- MODULE=imblearn
2626
- OMP_NUM_THREADS=4
2727
- OPENBLAS_NUM_THREADS=4
28-
matrix:
28+
29+
matrix:
30+
include:
2931
# This environment tests the using anaconda
3032
# Ubuntu 14.04 environment
31-
- DISTRIB="ubuntu"
33+
- env: DISTRIB="ubuntu"
3234
# Latest release
33-
- DISTRIB="conda" PYTHON_VERSION="2.7"
34-
NUMPY_VERSION="1.13.1" SCIPY_VERSION="0.19.1" SKLEARN_VERSION="0.19.0"
35-
- DISTRIB="conda" PYTHON_VERSION="3.5"
36-
NUMPY_VERSION="1.13.1" SCIPY_VERSION="0.19.1" SKLEARN_VERSION="0.19.0"
37-
- DISTRIB="conda" PYTHON_VERSION="3.6"
38-
NUMPY_VERSION="1.13.1" SCIPY_VERSION="0.19.1" SKLEARN_VERSION="0.19.0"
39-
- DISTRIB="conda" PYTHON_VERSION="3.6"
40-
NUMPY_VERSION="1.13.1" SCIPY_VERSION="0.19.1" SKLEARN_VERSION="master"
35+
- env: DISTRIB="conda" PYTHON_VERSION="2.7"
36+
NUMPY_VERSION="1.13.1" SCIPY_VERSION="0.19.1" SKLEARN_VERSION="0.19.0"
37+
- env: DISTRIB="conda" PYTHON_VERSION="3.5"
38+
NUMPY_VERSION="1.13.1" SCIPY_VERSION="0.19.1" SKLEARN_VERSION="0.19.0"
39+
- env: DISTRIB="conda" PYTHON_VERSION="3.6"
40+
NUMPY_VERSION="1.13.1" SCIPY_VERSION="0.19.1" SKLEARN_VERSION="0.19.0"
41+
- env: DISTRIB="conda" PYTHON_VERSION="3.6"
42+
NUMPY_VERSION="1.13.1" SCIPY_VERSION="0.19.1" SKLEARN_VERSION="master"
43+
allow_failures:
44+
- env: DISTRIB="conda" PYTHON_VERSION="3.6"
45+
NUMPY_VERSION="1.13.1" SCIPY_VERSION="0.19.1" SKLEARN_VERSION="master"
4146

4247
install: source build_tools/travis/install.sh
4348
script: bash build_tools/travis/test_script.sh

README.rst

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
.. _scikit-learn-contrib: https://github.com/scikit-learn-contrib
66

7-
|Landscape|_ |Travis|_ |AppVeyor|_ |Codecov|_ |CircleCI|_ |Python27|_ |Python35|_ |Pypi|_ |Gitter|_
7+
|Landscape|_ |Travis|_ |AppVeyor|_ |Codecov|_ |CircleCI|_ |PythonVersion|_ |Pypi|_ |Gitter|_
88

99
.. |Landscape| image:: https://landscape.io/github/scikit-learn-contrib/imbalanced-learn/master/landscape.svg?style=flat
1010
.. _Landscape: https://landscape.io/github/scikit-learn-contrib/imbalanced-learn/master
@@ -21,11 +21,8 @@
2121
.. |CircleCI| image:: https://circleci.com/gh/scikit-learn-contrib/imbalanced-learn.svg?style=shield&circle-token=:circle-token
2222
.. _CircleCI: https://circleci.com/gh/scikit-learn-contrib/imbalanced-learn/tree/master
2323

24-
.. |Python27| image:: https://img.shields.io/badge/python-2.7-blue.svg
25-
.. _Python27: https://badge.fury.io/py/scikit-learn
26-
27-
.. |Python35| image:: https://img.shields.io/badge/python-3.5-blue.svg
28-
.. _Python35: https://badge.fury.io/py/scikit-learn
24+
.. |PythonVersion| image:: https://img.shields.io/pypi/pyversions/imbalanced-learn.svg
25+
.. _PythonVersion: https://img.shields.io/pypi/pyversions/imbalanced-learn.svg
2926

3027
.. |Pypi| image:: https://badge.fury.io/py/imbalanced-learn.svg
3128
.. _Pypi: https://badge.fury.io/py/imbalanced-learn
@@ -74,7 +71,7 @@ install it via `pip`::
7471

7572
The package is release also in Anaconda Cloud platform::
7673

77-
conda install -c glemaitre imbalanced-learn
74+
conda install -c conda-forge imbalanced-learn
7875

7976
If you prefer, you can clone it and run the setup.py file. Use the following
8077
commands to get a copy from GitHub and install all dependencies::

build_tools/appveyor/test.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
- "cd C:\\"
44

55
$installed_imblearn_folder = $(python -c "import os; os.chdir('c:/'); import imblearn;\
6-
print(os.path.dirname(pydicom.__file__))")
6+
print(os.path.dirname(imblearn.__file__))")
77
echo "imblearn found in: $installed_imblearn_folder"
88

99
# --pyargs argument is used to make sure we run the tests on the

build_tools/circle/build_doc.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ source activate $CONDA_ENV_NAME
9393

9494
conda install --yes pip numpy scipy scikit-learn pillow matplotlib sphinx \
9595
sphinx_rtd_theme numpydoc
96-
pip install sphinx-gallery
96+
pip install -U git+https://github.com/sphinx-gallery/sphinx-gallery.git
9797

9898
# Build and install imbalanced-learn in dev mode
9999
cd "$HOME/$CIRCLE_PROJECT_REPONAME"

build_tools/circle/push_doc.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,6 @@ git config --global user.name $USERNAME
3131
git config --global push.default matching
3232
git add -f $dir/
3333
git commit -m "$MSG" $dir
34-
git push
34+
git push origin gh-pages
3535

3636
echo $MSG

conda-recipe/README.md

Lines changed: 0 additions & 3 deletions
This file was deleted.

conda-recipe/conda_deployement.sh

Lines changed: 0 additions & 21 deletions
This file was deleted.

conda-recipe/imbalanced-learn/bld.bat

Lines changed: 0 additions & 8 deletions
This file was deleted.

conda-recipe/imbalanced-learn/build.sh

Lines changed: 0 additions & 9 deletions
This file was deleted.

conda-recipe/imbalanced-learn/meta.yaml

Lines changed: 0 additions & 38 deletions
This file was deleted.

0 commit comments

Comments
 (0)