From 3e3be77d300e489375d6c38b64124eb719088bfc Mon Sep 17 00:00:00 2001 From: Michael Miller Date: Thu, 6 Aug 2020 19:16:05 -0600 Subject: [PATCH] Ignore Crystal version for nightly builds --- .gitlab-ci.yml | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 8a58eae..630d59b 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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