Building a Crystal Project
What This Guide Covers
Travis CI support for Crystal is contributed by the community and may be removed or altered at any time. If you run into any problems, please report them in the Travis CI issue tracker and cc @asterite, @jhass, @waj, and @will in the issue.
If your Crystal project doesn’t need any dependencies beyond those specified in
.travis.yml can simply be
This will run
shards install to install dependencies and then
crystal spec to test your project.
By default Travis CI will use the latest Crystal release. It is also possible
to test projects against the nightly build of Crystal. To do so, set the
crystal key in
.travis.yml. For example, to test against both nightly and
the latest release:
language: crystal crystal: - latest - nightly