-
-
Notifications
You must be signed in to change notification settings - Fork 229
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #238 from automl/development
SMAC3 v0.5.0
- Loading branch information
Showing
54 changed files
with
753 additions
and
418 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
#!bin/bash | ||
|
||
# on circle ci, each command run with it's own execution context so we have to | ||
# activate the conda testenv on a per command basis. That's why we put calls to | ||
# python (conda) in a dedicated bash script and we activate the conda testenv | ||
# here. | ||
source activate testenv | ||
|
||
# install documentation building dependencies | ||
pip install --upgrade numpy | ||
pip install --upgrade matplotlib setuptools nose coverage sphinx pillow sphinx-gallery sphinx_bootstrap_theme cython numpydoc | ||
# And finally, all other dependencies | ||
cat requirements.txt | xargs -n 1 -L 1 pip install | ||
|
||
python setup.py clean | ||
python setup.py develop | ||
|
||
# pipefail is necessary to propagate exit codes | ||
set -o pipefail && cd doc && make html 2>&1 | tee ~/log.txt |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,44 +1,28 @@ | ||
machine: | ||
environment: | ||
# The github organization or username of the repository which hosts the | ||
# project and documentation. | ||
USERNAME: "automl" | ||
|
||
# The repository where the documentation will be hosted | ||
DOC_REPO: "SMAC3" | ||
|
||
# The base URL for the Github page where the documentation will be hosted | ||
DOC_URL: "" | ||
|
||
# The email is to be used for commits in the Github Page | ||
EMAIL: "[email protected]" | ||
PATH: /home/ubuntu/miniconda/bin:$PATH | ||
|
||
dependencies: | ||
|
||
# Various dependencies | ||
pre: | ||
# Get rid of existing virtualenvs on circle ci as they conflict with conda. | ||
# From nilearn: https://github.com/nilearn/nilearn/blob/master/circle.yml | ||
- cd && rm -rf ~/.pyenv && rm -rf ~/virtualenvs | ||
# from scikit-learn contrib | ||
- sudo -E apt-get -yq remove texlive-binaries --purge | ||
- sudo apt-get update | ||
- sudo apt-get install libatlas-dev libatlas3gf-base | ||
- sudo apt-get install build-essential python-dev python-setuptools | ||
# install numpy first as it is a compile time dependency for other packages | ||
- pip install --upgrade numpy | ||
# install documentation building dependencies | ||
- pip install --upgrade matplotlib setuptools nose coverage sphinx pillow sphinx-gallery sphinx_bootstrap_theme cython numpydoc | ||
# Installing required packages for `make -C doc check command` to work. | ||
- sudo -E apt-get -yq update | ||
- sudo -E apt-get -yq --no-install-suggests --no-install-recommends --force-yes install dvipng texlive-latex-base texlive-latex-extra | ||
# Installing packages to build the random forest | ||
# finally install the requirements of the package to allow autodoc | ||
- pip install -r requirements.txt | ||
# Conda installation | ||
- wget http://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O ~/miniconda.sh | ||
- bash ~/miniconda.sh -b -p $HOME/miniconda | ||
- conda update --yes conda | ||
- conda create -n testenv --yes python=3.6 pip wheel nose gcc swig | ||
|
||
# The --user is needed to let sphinx see the source and the binaries | ||
# The pipefail is requested to propagate exit code | ||
override: | ||
- python setup.py clean | ||
- python setup.py develop | ||
- set -o pipefail && cd doc && make html 2>&1 | tee ~/log.txt | ||
- source ci_scripts/circle_install.sh | ||
test: | ||
# Grep error on the documentation | ||
override: | ||
|
@@ -58,7 +42,7 @@ general: | |
- "doc/_build/html" | ||
- "~/log.txt" | ||
# Restric the build to the branch master only | ||
branches: | ||
only: | ||
- development | ||
- master | ||
#branches: | ||
# only: | ||
# - development | ||
# - master |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,8 @@ | ||
import sys | ||
|
||
if sys.version_info < (3,4): | ||
raise ValueError("SMAC requires Python 3.4 or newer.") | ||
|
||
from smac.__version__ import __version__ | ||
AUTHORS = "Marius Lindauer, Matthias Feurer, Katharina Eggensperger, " \ | ||
"Aaron Klein, Stefan Falkner and Frank Hutter" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
"""Version information.""" | ||
|
||
# The following line *must* be the last in the module, exactly as formatted: | ||
__version__ = "0.4.0" | ||
__version__ = "0.5.0" |
Oops, something went wrong.