Ignore Crystal version for nightly builds

This commit is contained in:
Michael Miller 2020-08-06 19:16:05 -06:00
parent 6e7f094a4b
commit 3e3be77d30
No known key found for this signature in database
GPG key ID: F9A0C5C65B162436

View file

@ -10,23 +10,25 @@ cache:
before_script: before_script:
- crystal -v # Print out Crystal version for debugging - crystal -v # Print out Crystal version for debugging
- shards
spec: spec:
script: script:
- crystal spec --error-on-warnings - shards
- crystal spec --error-on-warnings
style: style:
script: script:
- bin/ameba - shards
- crystal tool format --check - bin/ameba
- crystal tool format --check
nightly: nightly:
image: "crystallang/crystal:nightly" image: "crystallang/crystal:nightly"
allow_failure: true allow_failure: true
script: script:
- crystal spec --error-on-warnings - shards --ignore-crystal-version
- crystal tool format --check - crystal spec --error-on-warnings
- crystal tool format --check
pages: pages:
stage: deploy stage: deploy