Commit a2aec781 authored by Alfredo Di Napoli's avatar Alfredo Di Napoli

Temporarily disable docs step in CI, it hides failures

parent d343f205
...@@ -13,7 +13,6 @@ stages: ...@@ -13,7 +13,6 @@ stages:
- stack - stack
- cabal - cabal
- test - test
- docs
stack: stack:
stage: stack stage: stack
...@@ -49,24 +48,24 @@ test: ...@@ -49,24 +48,24 @@ test:
script: script:
- nix-shell --run "./bin/update-cabal-project $CABAL_STORE_DIR && cabal --store-dir=$CABAL_STORE_DIR v2-test --test-show-details=streaming --ghc-options='-O0 -fclear-plugins'" - nix-shell --run "./bin/update-cabal-project $CABAL_STORE_DIR && cabal --store-dir=$CABAL_STORE_DIR v2-test --test-show-details=streaming --ghc-options='-O0 -fclear-plugins'"
docs: #docs:
stage: docs # stage: docs
cache: # cache:
key: stack.yaml # key: stack.yaml
paths: # paths:
- .stack-root/ # - .stack-root/
- .stack-work/ # - .stack-work/
policy: pull # policy: pull
script: # script:
- nix-shell --run "stack build --no-terminal --haddock --no-haddock-deps --fast --dry-run" # - nix-shell --run "stack build --no-terminal --haddock --no-haddock-deps --fast --dry-run"
- cp -R "$(stack path --local-install-root)"/doc ./output # - cp -R "$(stack path --local-install-root)"/doc ./output
# FIXME(adinapoli) Currently Gitlab 11.x doesn't support the 'rules' keyword. # # FIXME(adinapoli) Currently Gitlab 11.x doesn't support the 'rules' keyword.
# rules: # # rules:
# - if: '$CI_MERGE_REQUEST_IID' # Run job on Merge Requests # # - if: '$CI_MERGE_REQUEST_IID' # Run job on Merge Requests
only: # only:
- merge_requests # - merge_requests
artifacts: # artifacts:
paths: # paths:
- ./output # - ./output
expire_in: 1 week # expire_in: 1 week
allow_failure: true # allow_failure: true
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment