From 4db44f42fc36a1d18a42ba11ad27fb9f64835eb8 Mon Sep 17 00:00:00 2001 From: mzwiessele Date: Thu, 12 Nov 2015 13:32:15 +0000 Subject: [PATCH] [travis] testing deployment code --- .travis.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index aa914902..afebf561 100644 --- a/.travis.yml +++ b/.travis.yml @@ -60,6 +60,10 @@ before_deploy: - sphinx-apidoc -o source/ ../GPy - make html - cd ../ + - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; + then export DIST='sdist'; + elif [[ "$TRAVIS_OS_NAME" == "osx" ]]; + then export DIST='bdist_wheel'; deploy: provider: pypi @@ -70,5 +74,5 @@ deploy: tags: false branch: devel server: https://testpypi.python.org/pypi - distributions: "sdist", 'bdist_wheel' + distributions: $DIST skip_cleanup: true