Project

General

Profile

Actions

Misc #17936

closed

Run Travis at push on forked repository

Added by jaruga (Jun Aruga) almost 3 years ago. Updated almost 3 years ago.

Status:
Closed
Assignee:
-
[ruby-core:104164]

Description

I want to change the current condition to run Travis to improve developer's experience.

In my understanding, currently on ruby/ruby, Travis is executed at pull-request and push timing to only master or ruby_N_N branches by the branches syntax part in .travis.yml.

I think it's convenient if the developers can run Travis on their forked branches at the push timing without changing .travis.yml. It's like GitHub Actions. As a note, if the branches syntax part is removed in .travis.yml, it is possible to run Travis at the push timing on the forked repository even now. But it's not convenient.

For example, here are the actual cases where the PR is used by developers just to check the Travis CI result.

I am asking how to do this in the Travis community now. Maybe we need to use the if syntax on the top level.

Conditional builds with 1 “Travis CI - Pull-Request” in pull-request and push from any branches?
https://travis-ci.community/t/11673

Just removing the branches syntax part in .travis.yml is not enough. Because the 2 Travis builds are executed at the pull-request on the condition. You can see the picture on above Travis ticket as a reference.

Actions

Also available in: Atom PDF

Like0
Like0Like0Like0