Add GitLab CI config

This commit is contained in:
Michael Miller 2018-10-19 14:00:08 -06:00
parent 1064444f15
commit 6e012da766

17
.gitlab-ci.yml Normal file
View file

@ -0,0 +1,17 @@
# Official language image. Look for the different tagged releases at:
# https://hub.docker.com/r/crystallang/crystal/
image: "crystallang/crystal:latest"
# Cache shards in between builds
cache:
paths:
- lib
before_script:
- crystal -v # Print out Crystal version for debugging
- shards
spec:
script:
- crystal tool format --check
- crystal spec