Commit 2e03eac7 authored by Douwe Maan's avatar Douwe Maan

Merge branch 'upgrade-middleman-ci-template' into 'master'

Upgrade Middleman template for GitLab CI

See merge request gitlab-org/gitlab-ce!21174
parents 2bb79b8e 2659d4e1
# Full project: https://gitlab.com/pages/middleman # Full project: https://gitlab.com/pages/middleman
image: ruby:2.3 image: ruby:2.4
variables:
LANG: "C.UTF-8"
cache: cache:
paths: paths:
- vendor - vendor
test: before_script:
script:
- apt-get update -yqqq - apt-get update -yqqq
- apt-get install -y nodejs - apt-get install -y nodejs
- bundle install --path vendor - bundle install --path vendor
test:
script:
- bundle exec middleman build - bundle exec middleman build
except: except:
- master - master
pages: pages:
script: script:
- apt-get update -yqqq
- apt-get install -y nodejs
- bundle install --path vendor
- bundle exec middleman build - bundle exec middleman build
artifacts: artifacts:
paths: paths:
......
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