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:
- crystal -v # Print out Crystal version for debugging
- shards
spec:
script:
- crystal spec --error-on-warnings
- shards
- crystal spec --error-on-warnings
style:
script:
- bin/ameba
- crystal tool format --check
- shards
- bin/ameba
- crystal tool format --check
nightly:
image: "crystallang/crystal:nightly"
allow_failure: true
script:
- crystal spec --error-on-warnings
- crystal tool format --check
- shards --ignore-crystal-version
- crystal spec --error-on-warnings
- crystal tool format --check
pages:
stage: deploy