# File lib/branch.rb, line 348
        def push_stable(opts)
            if (opts[:no_travis] != true && @NO_TRAVIS != true) &&
               @travis.checkValidState(@head) != true then
                log(:WARNING, "Build is not passed on travis. Skipping push to stable")
                return
            end

            if same_sha?(@local_branch, @remote_ref) then
                log(:INFO, "Stable is already up-to-date")
                return
            end

            if opts[:check_only] == true then
                GitMaintain::checkLog(opts, @local_branch, @remote_ref, "")
                return
            end

            rep = GitMaintain::checkLog(opts, @local_branch, @remote_ref, "submit")
            if rep == "y" then
                @repo.runGit("push #{@repo.stable_repo} #{@local_branch}:#{@remote_branch}")
            else
                log(:INFO, "Skipping push to stable")
                return
            end
        end