diff --git a/.travis.yml b/.travis.yml index 22a7e165..a634751a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -48,9 +48,11 @@ before_deploy: - make html - cd ../ - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; - then export DIST='sdist'; + then + export DIST='sdist'; elif [[ "$TRAVIS_OS_NAME" == "osx" ]]; - then export DIST='bdist_wheel'; + then + export DIST='bdist_wheel'; fi; deploy: @@ -61,5 +63,6 @@ deploy: on: tags: true branch: deploy + condition: "$TRAVIS_OS_NAME" == "osx" || ( "$TRAVIS_OS_NAME" == "linux" && "$PYTHON_VERSION" == "2.7" ) distributions: $DIST skip_cleanup: true diff --git a/setup.cfg b/setup.cfg index 04d1f5ab..652cc7a2 100644 --- a/setup.cfg +++ b/setup.cfg @@ -11,3 +11,6 @@ universal = 1 [upload_docs] upload-dir = doc/build/html +[medatdata] +description-file = README.rst +