Skip to content

Commit

Permalink
Merge pull request #757 from automl/development
Browse files Browse the repository at this point in the history
Finalize release of v0.6.0
  • Loading branch information
mfeurer authored Jan 3, 2020
2 parents 049288e + f125155 commit 275bf18
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 11 deletions.
20 changes: 9 additions & 11 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,26 +20,24 @@ matrix:

include:
- os: linux
python: 3.5
env: DISTRIB="ubuntu"
- os: linux
python: 3.6
env: DISTRIB="ubuntu"
env: DISTRIB="conda" EXAMPLES="true" PYTHON=3.7"
- os: linux
python: 3.7
env: DISTRIB="ubuntu"
env: DISTRIB="conda" RUN_FLAKE8="true" SKIP_TESTS="true"
- os: linux
env: DISTRIB="conda" PYTHON="3.5"
- os: linux
env: DISTRIB="conda" COVERAGE="true" DOCPUSH="true" PYTHON="3.6"
- os: linux
env: DISTRIB="conda" TEST_DIST="true" PYTHON="3.7"
- os: linux
env: DISTRIB="conda" EXAMPLES="true" PYTHON=3.7"
python: 3.5
env: DISTRIB="ubuntu"
- os: linux
env: DISTRIB="conda" RUN_FLAKE8="true" SKIP_TESTS="true"


python: 3.6
env: DISTRIB="ubuntu"
- os: linux
python: 3.7
env: DISTRIB="ubuntu"
# Temporarily disabling OSX builds because thy take too long
# Set language to generic to not break travis-ci
# https://github.com/travis-ci/travis-ci/issues/2312#issuecomment-195620855
Expand Down
8 changes: 8 additions & 0 deletions ci_scripts/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,19 @@ cat requirements.txt | xargs -n 1 -L 1 pip install
pip freeze

if [[ "$TEST_DIST" == "true" ]]; then
pip install twine
python setup.py sdist
# Find file which was modified last as done in https://stackoverflow.com/a/4561987
dist=`find dist -type f -printf '%T@ %p\n' | sort -n | tail -1 | cut -f2- -d" "`
echo "Installing $dist"
pip install "$dist"
twine_output=`twine check "$dist"`
if [[ "$twine_output" != "Checking $dist: PASSED" ]]; then
echo $twine_output
exit 1
else
echo "Check with Twine: OK: $twine_output"
fi
else
python setup.py check -m -s
python setup.py install
Expand Down
7 changes: 7 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,11 +52,18 @@ def finalize_options(self):
with open("autosklearn/__version__.py") as fh:
version = fh.readlines()[-1].split()[-1].strip("\"'")


with open('README.md') as fh:
long_description = fh.read()


setup(
name='auto-sklearn',
author='Matthias Feurer',
author_email='[email protected]',
description='Automated machine learning.',
long_description=long_description,
long_description_content_type='text/markdown',
version=version,
cmdclass={'build_ext': BuildExt},
ext_modules=extensions,
Expand Down

0 comments on commit 275bf18

Please sign in to comment.