The travis 'deploy' is executed after the python 3.6 build completes and runs after all checks pass against py3.6. This means that in theory a build could be promoted after a broken build due to failures on other jobs in the build.
THe travis file update needs to be investigated.