Skip to content

Commit f618d81

Browse files
authored
Merge pull request #347 from openml/develop
Create a new release to update docs
2 parents a2b602b + 9664a0f commit f618d81

41 files changed

Lines changed: 1781 additions & 705 deletions

Some content is hidden

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

.gitignore

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,3 @@ target/
7373
# IDE
7474
.idea
7575
*.swp
76-
77-
# Other
78-
*.pkl

.travis.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,12 @@ env:
1515
- TEST_DIR=/tmp/test_dir/
1616
- MODULE=openml
1717
matrix:
18-
- DISTRIB="conda" PYTHON_VERSION="2.7" NUMPY_VERSION="1.11" SCIPY_VERSION="0.17.0" CYTHON_VERSION="0.21" SKLEARN_VERSION="0.18.1"
19-
- DISTRIB="conda" PYTHON_VERSION="3.4" NUMPY_VERSION="1.11" SCIPY_VERSION="0.17.0" CYTHON_VERSION="0.23.4" SKLEARN_VERSION="0.18.1"
20-
- DISTRIB="conda" PYTHON_VERSION="3.5" NUMPY_VERSION="1.11" SCIPY_VERSION="0.17.0" CYTHON_VERSION="0.23.4" SKLEARN_VERSION="0.18.1"
21-
- DISTRIB="conda" PYTHON_VERSION="3.6" COVERAGE="true" NUMPY_VERSION="1.12.1" SCIPY_VERSION="0.19.0" CYTHON_VERSION="0.25.2" SKLEARN_VERSION="0.18.1"
18+
- DISTRIB="conda" PYTHON_VERSION="2.7" SKLEARN_VERSION="0.18.2"
19+
- DISTRIB="conda" PYTHON_VERSION="3.4" SKLEARN_VERSION="0.18.2"
20+
- DISTRIB="conda" PYTHON_VERSION="3.5" SKLEARN_VERSION="0.18.2"
21+
- DISTRIB="conda" PYTHON_VERSION="3.6" COVERAGE="true" SKLEARN_VERSION="0.18.2"
22+
- DISTRIB="conda" PYTHON_VERSION="3.6" EXAMPLES="true" SKLEARN_VERSION="0.18.2"
23+
- DISTRIB="conda" PYTHON_VERSION="3.6" DOCTEST="true" SKLEARN_VERSION="0.18.2"
2224

2325
install: source ci_scripts/install.sh
2426
script: bash ci_scripts/test.sh

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
[![License](https://img.shields.io/badge/License-BSD%203--Clause-blue.svg)](https://opensource.org/licenses/BSD-3-Clause)
2+
13
A python interface for [OpenML](http://openml.org). You can find the documentation on the [openml-python website](https://openml.github.io/openml-python).
24

35
Please commit to the right branches following the gitflow pattern:

ci_scripts/install.sh

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,12 +24,18 @@ popd
2424

2525
# Configure the conda environment and put it in the path using the
2626
# provided versions
27-
conda create -n testenv --yes python=$PYTHON_VERSION pip nose \
28-
numpy=$NUMPY_VERSION scipy=$SCIPY_VERSION cython=$CYTHON_VERSION \
29-
scikit-learn=$SKLEARN_VERSION pandas
27+
conda create -n testenv --yes python=$PYTHON_VERSION pip
3028
source activate testenv
29+
pip install nose numpy scipy cython scikit-learn==$SKLEARN_VERSION \
30+
oslo.concurrency
3131

32-
pip install matplotlib jupyter notebook nbconvert nbformat jupyter_client ipython ipykernel
32+
if [[ "$EXAMPLES" == "true" ]]; then
33+
pip install matplotlib jupyter notebook nbconvert nbformat jupyter_client \
34+
ipython ipykernel pandas seaborn
35+
fi
36+
if [[ "$DOCTEST" == "true" ]]; then
37+
pip install pandas sphinx_bootstrap_theme
38+
fi
3339
if [[ "$COVERAGE" == "true" ]]; then
3440
pip install codecov
3541
fi

ci_scripts/test.sh

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,16 @@ mkdir -p $TEST_DIR
66

77
cwd=`pwd`
88
test_dir=$cwd/tests
9+
doctest_dir=$cwd/doc
910

1011
cd $TEST_DIR
1112

12-
if [[ "$COVERAGE" == "true" ]]; then
13-
nosetests -sv --with-coverage --cover-package=$MODULE $test_dir
13+
if [[ "$EXAMPLES" == "true" ]]; then
14+
nosetests -sv $test_dir/test_examples/
15+
elif [[ "$DOCTEST" == "true" ]]; then
16+
python -m doctest $doctest_dir/usage.rst
17+
elif [[ "$COVERAGE" == "true" ]]; then
18+
nosetests --processes=4 --process-timeout=600 -sv --ignore-files="test_OpenMLDemo\.py" --with-coverage --cover-package=$MODULE $test_dir
1419
else
15-
nosetests -sv $test_dir
20+
nosetests --processes=4 --process-timeout=600 -sv --ignore-files="test_OpenMLDemo\.py" $test_dir
1621
fi

doc/conf.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,8 +63,8 @@
6363

6464
# General information about the project.
6565
project = u'OpenML'
66-
copyright = u'2014-2016, Matthias Feurer, Andreas Müller, Farzan Majdani, ' \
67-
u'Joaquin Vanschoren and Pieter Gijsbers'
66+
copyright = u'2014-2017, Matthias Feurer, Andreas Müller, Farzan Majdani, ' \
67+
u'Joaquin Vanschoren, Jan van Rijn and Pieter Gijsbers'
6868

6969
# The version info for the project you're documenting, acts as replacement for
7070
# |version| and |release|, also used in various other places throughout the

0 commit comments

Comments
 (0)