I’m trying to setup my crystal project on Travis CI. This is my current .travis.yml
:
language: crystal
crystal:
- latest
- nightly
script:
- crystal spec --verbose
branches:
only:
- master
# Tags
- /^v\d+\.\d+(\.\d+)?(-\S*)?$/
For stable, the code is built and tested. However, for nightly, I get this in the build log:
Crystal for Travis-CI is not officially supported, but is community maintained.
Please file any issues using the following link
https://github.com/travis-ci/travis-ci/issues/new?labels=community:crystal
and mention `@jhass`, `@matiasgarciaisaia`, `@waj` and `@will` in the issue
$ 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
$ shards install
shards: command not found
The command "shards install" failed and exited with 127 during .
Your build has been stopped.
As evident, something is wrong because both the crystal
and shards
commands are not present. The build job that caused this is here. I restarted the job once already to verify the presence of the error.
On a side note, the CI message directing users to ask about Travis CI problems on Github issues is out of date; it should link here instead.
/cc @jhass, @matiasgarciaisaia, @ waj, @ will
(I can only mention two users as I’m a new user)