Building a Crystal Project

What This Guide Covers #

This guide covers build environment and configuration topics specific to Crystal projects. Please make sure to read our Tutorial and general build configuration guides first.

Community-Supported Warning #

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, @will, and @bcardiff.

Configuration options #

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:

dist: xenial
language: crystal
crystal:
  - latest
  - nightly

Note that the nightly build will only be available on Xenial and later releases