mirror of
https://gitea.invidious.io/iv-org/shard-spectator.git
synced 2024-08-15 00:53:35 +00:00
Add GitLab CI config
This commit is contained in:
parent
1064444f15
commit
6e012da766
1 changed files with 17 additions and 0 deletions
17
.gitlab-ci.yml
Normal file
17
.gitlab-ci.yml
Normal 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
|
Loading…
Reference in a new issue