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

travis.yml template is no longer working #10690

Closed
tkshnwesper opened this issue May 8, 2021 · 4 comments · Fixed by #10800
Closed

travis.yml template is no longer working #10690

tkshnwesper opened this issue May 8, 2021 · 4 comments · Fixed by #10800
Labels
kind:bug A bug in the code. Does not apply to documentation, specs, etc. topic:tools:init

Comments

@tkshnwesper
Copy link

Bug Report

Hello all,

The travis.yml template is not working. I'm getting the following error:

$ crystal --version
No command 'crystal' found, did you mean:
 Command 'gcrystal' from package 'gcrystal' (universe)
crystal: command not found

$ shards --version
shards: command not found

0.08s$ shards install
shards: command not found
The command "shards install" failed and exited with 127 during .
@tkshnwesper tkshnwesper added the kind:bug A bug in the code. Does not apply to documentation, specs, etc. label May 8, 2021
@jhass
Copy link
Member

jhass commented May 8, 2021

This will hopefully start working again once travis-ci/travis-build#1987 is merged.

But we really should drop the template from the generator, in sight of https://blog.travis-ci.com/2021-05-07-orgshutdown if nothing else.

@tkshnwesper
Copy link
Author

Cool, thank you for the response.

@j8r
Copy link
Contributor

j8r commented May 8, 2021

Agreed. And according to the poll at https://forum.crystal-lang.org/t/poll-how-do-you-use-crystal-init/2921, now few people are still using Travis CI.

@straight-shoota
Copy link
Member

straight-shoota commented Jun 9, 2021

Crystal on Travis CI is broken. There seems to be no drive to fix that (travis-ci/travis-build#1987). I have made my peace with it 🙇
Even if Travis fixes this, I don't think we have enough trust left for having it as the default CI config generated for every Crystal project. See also https://blog.travis-ci.com/2021-05-07-orgshutdown

This means, the Travis CI config file produced by crystal init does not work. It irritates users and must be removed.

We can either add a replacement (#10801) or leave crystal init without CI config for now.
Removal of Travis config should definitely go into 1.1.0, adding a replacement is optional.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind:bug A bug in the code. Does not apply to documentation, specs, etc. topic:tools:init
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants