File tree Expand file tree Collapse file tree 3 files changed +24
-11
lines changed Expand file tree Collapse file tree 3 files changed +24
-11
lines changed Original file line number Diff line number Diff line change @@ -20,26 +20,24 @@ matrix:
2020
2121 include :
2222 - os : linux
23- python : 3.5
24- env : DISTRIB="ubuntu"
25- - os : linux
26- python : 3.6
27- env : DISTRIB="ubuntu"
23+ env : DISTRIB="conda" EXAMPLES="true" PYTHON=3.7"
2824 - os : linux
29- python : 3.7
30- env : DISTRIB="ubuntu"
25+ env : DISTRIB="conda" RUN_FLAKE8="true" SKIP_TESTS="true"
3126 - os : linux
3227 env : DISTRIB="conda" PYTHON="3.5"
3328 - os : linux
3429 env : DISTRIB="conda" COVERAGE="true" DOCPUSH="true" PYTHON="3.6"
3530 - os : linux
3631 env : DISTRIB="conda" TEST_DIST="true" PYTHON="3.7"
3732 - os : linux
38- env : DISTRIB="conda" EXAMPLES="true" PYTHON=3.7"
33+ python : 3.5
34+ env : DISTRIB="ubuntu"
3935 - os : linux
40- env : DISTRIB="conda" RUN_FLAKE8="true" SKIP_TESTS="true"
41-
42-
36+ python : 3.6
37+ env : DISTRIB="ubuntu"
38+ - os : linux
39+ python : 3.7
40+ env : DISTRIB="ubuntu"
4341 # Temporarily disabling OSX builds because thy take too long
4442 # Set language to generic to not break travis-ci
4543 # https://github.com/travis-ci/travis-ci/issues/2312#issuecomment-195620855
Original file line number Diff line number Diff line change @@ -9,11 +9,19 @@ cat requirements.txt | xargs -n 1 -L 1 pip install
99 pip freeze
1010
1111if [[ " $TEST_DIST " == " true" ]]; then
12+ pip install twine
1213 python setup.py sdist
1314 # Find file which was modified last as done in https://stackoverflow.com/a/4561987
1415 dist=` find dist -type f -printf ' %T@ %p\n' | sort -n | tail -1 | cut -f2- -d" " `
1516 echo " Installing $dist "
1617 pip install " $dist "
18+ twine_output=` twine check " $dist " `
19+ if [[ " $twine_output " != " Checking $dist : PASSED" ]]; then
20+ echo $twine_output
21+ exit 1
22+ else
23+ echo " Check with Twine: OK: $twine_output "
24+ fi
1725else
1826 python setup.py check -m -s
1927 python setup.py install
Original file line number Diff line number Diff line change @@ -52,11 +52,18 @@ def finalize_options(self):
5252with open ("autosklearn/__version__.py" ) as fh :
5353 version = fh .readlines ()[- 1 ].split ()[- 1 ].strip ("\" '" )
5454
55+
56+ with open ('README.md' ) as fh :
57+ long_description = fh .read ()
58+
59+
5560setup (
5661 name = 'auto-sklearn' ,
5762 author = 'Matthias Feurer' ,
58635964 description = 'Automated machine learning.' ,
65+ long_description = long_description ,
66+ long_description_content_type = 'text/markdown' ,
6067 version = version ,
6168 cmdclass = {'build_ext' : BuildExt },
6269 ext_modules = extensions ,
You can’t perform that action at this time.
0 commit comments