From c592d46b00e5e7833caba8b46a4719ab6f352ac6 Mon Sep 17 00:00:00 2001 From: Max Zwiessele Date: Fri, 23 Feb 2018 11:37:58 +0100 Subject: [PATCH 1/2] =?UTF-8?q?Don=E2=80=99t=20build=20docs=20anymore=20in?= =?UTF-8?q?=20travis?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .travis.yml | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/.travis.yml b/.travis.yml index 6f96f1ec..71452420 100644 --- a/.travis.yml +++ b/.travis.yml @@ -49,11 +49,6 @@ after_success: - coveralls before_deploy: - - cd doc - - pip install sphinx_rtd_theme - - sphinx-apidoc -o source/ ../GPy - - make html - - cd ../ - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then export DIST='sdist'; @@ -70,5 +65,6 @@ deploy: on: branch: deploy distributions: $DIST + skip_existing: true skip_cleanup: true skip_upload_docs: false From d4bff7505e5ee6abd192025e541af573c4c61da4 Mon Sep 17 00:00:00 2001 From: Max Zwiessele Date: Fri, 23 Feb 2018 12:19:49 +0100 Subject: [PATCH 2/2] Use old deploy pypi behavior Until skip_existing option exists, use the old travis dpl behaviour to not fail on existing files. --- .travis.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.travis.yml b/.travis.yml index 71452420..f526bd13 100644 --- a/.travis.yml +++ b/.travis.yml @@ -64,6 +64,8 @@ deploy: secure: "vMEOlP7DQhFJ7hQAKtKC5hrJXFl5BkUt4nXdosWWiw//Kg8E+PPLg88XPI2gqIosir9wwgtbSBBbbwCxkM6uxRNMpoNR8Ixyv9fmSXp4rLl7bbBY768W7IRXKIBjpuEy2brQjoT+CwDDSzUkckHvuUjJDNRvUv8ab4P/qYO1LG4=" on: branch: deploy + edge: + branch: v1.8.45 distributions: $DIST skip_existing: true skip_cleanup: true