Skip to content

Instantly share code, notes, and snippets.

@mverzilli
Created June 15, 2016 14:35
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mverzilli/2e078b58a3a48b084beda385e8d5a9a3 to your computer and use it in GitHub Desktop.
Save mverzilli/2e078b58a3a48b084beda385e8d5a9a3 to your computer and use it in GitHub Desktop.
CircleCI for Crystal Projects
# Include this file in your project's root folder to integrate with CircleCI.
# Replace 0.18.0 with the Crystal version you're using.
dependencies:
cache_directories:
- "crystal-0.18.0-1"
pre:
- if [[ ! -e crystal-0.18.0-1 ]]; then wget https://github.com/crystal-lang/crystal/releases/download/0.18.0/crystal-0.18.0-1-linux-x86_64.tar.gz && tar xvfz crystal-0.18.0-1-linux-x86_64.tar.gz; fi
test:
pre:
- crystal-0.18.0-1/bin/crystal deps
override:
- crystal-0.18.0-1/bin/crystal spec
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment