Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor CI yaml files #1176

Merged
merged 3 commits into from Apr 1, 2021
Merged

Conversation

junaruga
Copy link
Contributor

There are 3 commits on this PR to refactor the CI yaml files.

  • Fix wrong comments.
  • GitHub Actions: Set the default value to allow-failure.
  • Migrate Ruby 2.0.0 case in Travis to GitHub Actions.

Fix wrong comments.

The comments for the 2 cases were actually opposite.

GitHub Actions: Set the default value to allow-failure.

There is a way to omit the allow-failure when the case passes setting the default value. The tip is inspired by the rspec-core's GitHub Actions yaml file.

Migrate Ruby 2.0.0 case in Travis to GitHub Actions.

We have actually Ruby 2.0.0 case on CentOS 7 case. I know the system Ruby in CentOS 7 is 2.0.0 until the CentOS 7 will be end of life. The tip using name_extra also comes from the rspec-core's GitHub Actions yaml file.

I thought we could remove the Ruby 2.0.0 case in Travis CI. In other words, we may still want to keep the Ruby 2.0.0 in Travis for some reasons.

What do you think?

As the CentOS 7 system Ruby is the fixed version 2.0.0, we can remove
the Ruby 2.0.0 case in Travis.

Remove `sudo: required` syntax in Travis, as the key `sudo` is deprecated
and it has no effect anymore according to the Travis "View config" page.
@junaruga
Copy link
Contributor Author

@sodabrew Could you take a look this PR?

@junaruga
Copy link
Contributor Author

My concern is the Ruby 2.0.0 installed on Travis ubuntu by RVM, and installed as a RPM package on CentOS 7 are possibly a little different. At least I can predict that Ruby 2.0.0 on CentOS is applying many patch files in it. I am a little negative to remove Ruby 2.0.0 on Travis now.

@sodabrew sodabrew merged commit 346b4a4 into brianmario:master Apr 1, 2021
@junaruga junaruga deleted the wip/refactor-ci branch April 6, 2021 05:17
@junaruga
Copy link
Contributor Author

junaruga commented Apr 6, 2021

Thanks for checking and merging!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants