Releases uploading fails silently

I’m trying to upload an epub file containing documentation as an asset to a release tag on Github.

I’m using this travis.yml. I have verified that the build process indeed creates the file docs/_build/artifacts/pypkg_x8uqn_v0.1.0-rc24.epub.

However, at the end of the build logs, the “Preparing deploy” and “Deploying application” steps show no output at all:

0Ktravis_fold:start:dpl_0
0Ktravis_time:start:10b440fa
0K$ rvm $(travis_internal_ruby) --fuzzy do ruby -S gem install dpl
Successfully installed dpl-1.10.14
1 gem installed
travis_time:end:10b440fa:start=1577384026546652495,finish=1577384028329086325,duration=1782433830,event=after_success
0Ktravis_fold:end:dpl_0
0Ktravis_time:start:0212973d
0Ktravis_fold:start:dpl.1
Installing deploy dependencies
Successfully installed multipart-post-2.1.1
Successfully installed faraday-0.15.4
Successfully installed public_suffix-3.0.3
Successfully installed addressable-2.7.0
Successfully installed sawyer-0.8.2
Successfully installed octokit-4.6.2
Successfully installed mime-types-data-3.2019.1009
Successfully installed mime-types-3.3
Successfully installed dpl-releases-1.10.14
9 gems installed

travis_fold:end:dpl.1
Logged in as Michael Goerz
Deploying to repo: goerz-forks/pypkg_x8uqn
Current tag is: v0.1.0-rc24
Setting target_commitish to 71db06aa7f7a943c11aa11298c52e57ddce4da46
travis_fold:start:dpl.2
Preparing deploy

travis_fold:end:dpl.2
travis_fold:start:dpl.3
Deploying application

travis_fold:end:dpl.3
travis_time:end:0212973d:start=1577384028339181994,finish=1577384033706988865,duration=5367806871,event=after_success
0K
Done. Your build exited with 0.

No assets are attached to the release.

Any ideas on how to get this to work? Can dpl be made more verbose?

Hey goerz,

Yes you can make dpl more verbose, try adding this into your .travis.yml file under deploy:

verbose: true

See what the build says, and post back and I’ll be glad to help you further!

-Montana

Imprint