Skip to content

Commit

Permalink
Circle Drop (#575)
Browse files Browse the repository at this point in the history
* Extending Autosklearn. First commit.

* Add regression example

* CI: upper bound numpy version due to travis failures

* CI: upper bound numpy version due to travis failures

* use tempfile.gettempdir() (#521)

* use tempfile.gettempdir()

* follow quality review coding standards

* Remove a colon from README.md (#527)

* fixing warnings on non-tuple sequence for indexing (#526)

* fix string formatting (#540)

* FIX removing models wrt wrong metric in ensemble (#522)

* Add examples for extending auto-sklearn.

* .

* Change datasets used in examples from digits to breast_cancer.

* First commit

* Fixing codacy errors

* Fixing bug

* [Debug] try different numpy version

* [Debug] Try with latest numpy version

* Set numpy version to 1.14.5

* First commit

* Fixing bug

* Modify flake8_diff.sh

* Extending Autosklearn. First commit.

* Add regression example

* Add examples for extending auto-sklearn.

* .

* Fixing codacy errors

* Change example (#553)

* Change datasets used in examples from digits to breast_cancer.

* [Debug] try different numpy version

* [Debug] Try with latest numpy version

* Set numpy version to 1.14.5

* Fix line length in exanple_parallel.py

* [WIP]Add argument for custom logger configuration. (#505)

* Add argument for custom logger configuration. First commit, work in progress.

* Minor changes.

* Modify suggested changes [WIP]

* .

* .

* .

* .

* Fix minor details

* Fix travis not recognizing example_config.yaml

* .

* .

* .

* .

* .

* Change datasets used in examples from digits to breast_cancer.

* Fix codacy error

* Revert codacy error fixing

* [Debug] check if numpy causes error

* [Debug] experimenting with numpy

* [Debug] try to manually install libgcc

* [Debug] libgcc

* [Debug] libgcc

* [Debug] libgcc

* [Debug] libgcc

* [Debug].

* [Debug].

* [Debug] .

* [Debug].

* [Debug].

* [Debug] used older numpy version

* [Debug] numpy

* [Debug] try numpy version 1.14.6

* [Debug] try different numpy version

* [Debug] Try with latest numpy version

* Set numpy version to 1.14.5

* Add argument for custom logger configuration. First commit, work in progress.

* Minor changes.

* Modify suggested changes [WIP]

* .

* .

* .

* .

* Fix minor details

* Fix travis not recognizing example_config.yaml

* .

* .

* .

* .

* .

* Fix codacy error

* Revert codacy error fixing

* [Debug] experimenting with numpy

* [Debug] try to manually install libgcc

* [Debug] libgcc

* [Debug] libgcc

* [Debug] libgcc

* [Debug] libgcc

* [Debug].

* [Debug].

* [Debug] .

* [Debug].

* [Debug].

* [Debug] used older numpy version

* [Debug] try numpy version 1.14.6

* Delete libgcc_check.sh used for debugging.

* Fix numpy version and remove blank lines

* Fix line length in example_parallel.py

* Fix minor error

* FIX #566: sort ensemble correctly (#567)

* Fix Line length in example_parallel.py

* Fix line length in example_parallel.py

* Fix minor error

* Fix codacy error "parameters differ from overriden 'fit' method"

* Check target type at the beginning of the fitting process. (#506)

* Check target type at the beginning of the fitting process.

* .

* Fixed minor error in uniitest

* .

* Add unittest for target type checking.

* .

* .

* Change datasets used in examples from digits to breast_cancer.

* [Debug] try with numpy version 1.14.5

* [Debug] Check if numpy version 1.14.6 raises error.

* [Debug] try different numpy version

* [Debug] Try with latest numpy version

* Set numpy version to 1.14.5

* Check target type at the beginning of the fitting process.

* .

* Fixed minor error in uniitest

* .

* Add unittest for target type checking.

* .

* .

* [Debug] Check if numpy version 1.14.6 raises error.

* Fix numpy version to 1.14.5

* Add comment to Mock in test_type_of_target

* Fix line length in example_parallel.py

* Fix minor error

* Update test_automl.py

* Add python 3.7to Travis, change python_requirement in setup.py.

* Add solver hyperparameter in MLP classifier example, increase runtime of classifier in example_extend_preprocessing.py

* Change all occurences of master to development in flake8_diff.sh

* numpy requirement is now >=1.9.0<=1.14.5

* Fix requirement inequality mistake

* change initial numpy version to 1.14.5.

* Deploy using travis instead of circle

* FIX error in travis.yml caused by stashing

* Test that deploy works.

* Debugging. Set local_dir to doc/development.

* Done Testing. Finalize the PR.

* Delete circle_install.sh
  • Loading branch information
ahn1340 authored and mfeurer committed Nov 9, 2018
1 parent c963f75 commit 56af60d
Show file tree
Hide file tree
Showing 5 changed files with 73 additions and 126 deletions.
14 changes: 12 additions & 2 deletions .travis.yml
Expand Up @@ -16,7 +16,7 @@ matrix:
- os: linux
env: DISTRIB="conda" PYTHON_VERSION="3.5" COVERAGE="true" MINICONDA_URL="https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh"
- os: linux
env: DISTRIB="conda" PYTHON_VERSION="3.6" MINICONDA_URL="https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh"
env: DISTRIB="conda" PYTHON_VERSION="3.6" DOCPUSH="true" MINICONDA_URL="https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh"
- os: linux
env: DISTRIB="conda" PYTHON_VERSION="3.6" EXAMPLES="true" MINICONDA_URL="https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh"
- os: linux
Expand Down Expand Up @@ -77,5 +77,15 @@ install:
- python setup.py install

script: bash ci_scripts/test.sh
after_success: source ci_scripts/success.sh
after_success: source ci_scripts/success.sh && source ci_scripts/create_doc.sh $TRAVIS_BRANCH "doc_result"

deploy:
provider: pages
skip-cleanup: true
github-token: $GITHUB_TOKEN # set in the settings page of my repository
keep-hisotry: true
commiter-from-gh: true
on:
all_branches: true
condition: $doc_result = "success"
local_dir: doc/$TRAVIS_BRANCH
20 changes: 0 additions & 20 deletions ci_scripts/circle_install.sh

This file was deleted.

61 changes: 61 additions & 0 deletions ci_scripts/create_doc.sh
@@ -0,0 +1,61 @@
# This script is mostly adopted from https://github.com/openml/openml-python/blob/develop/ci_scripts/create_doc.sh

set -euo pipefail

# Check if DOCPUSH is set
if ! [[ -z ${DOCPUSH+x} ]]; then

if [[ "$DOCPUSH" == "true" ]]; then

# install documentation building dependencies
pip install --upgrade matplotlib seaborn setuptools nose coverage sphinx pillow sphinx-gallery sphinx_bootstrap_theme cython numpydoc nbformat nbconvert mock

# $1 is the branch name
# $2 is the global variable where we set the script status

if ! { [ $1 = "master" ] || [ $1 = "development" ]; }; then
{ echo "Not one of the allowed branches"; exit 0; }
fi

# delete any previous documentation folder
if [ -d doc/$1 ]; then
rm -rf doc/$1
fi

# create the documentation
cd doc && make html 2>&1

# create directory with branch name
# the documentation for dev/stable from git will be stored here
mkdir $1

# get previous documentation from github
git clone https://github.com/automl/auto-sklearn.git --branch gh-pages --single-branch

# copy previous documentation
cp -r auto-sklearn/. $1
rm -rf auto-sklearn

# if the documentation for the branch exists, remove it
if [ -d $1/$1 ]; then
rm -rf $1/$1
fi

# copy the updated documentation for this branch
mkdir $1/$1
cp -r build/html/. $1/$1

# takes a variable name as an argument and assigns the script outcome to a
# variable with the given name. If it got this far, the script was successful
function set_return() {
# $1 is the variable where we save the script outcome
local __result=$1
local status='success'
eval $__result="'$status'"
}

set_return "$2"
fi
fi
# Workaround for travis failure
set +u
42 changes: 0 additions & 42 deletions ci_scripts/push_doc.sh

This file was deleted.

62 changes: 0 additions & 62 deletions circle.yml

This file was deleted.

0 comments on commit 56af60d

Please sign in to comment.