.gitlab-ci.yml 340 Bytes
image: ruby:2.2
variables:
  LANG: "C.UTF-8"
cache:
  paths:
    - vendor/

before_script:
  - which ruby
  - bundle install --deployment --jobs $(nproc)

test:
  script:
    - bundle exec middleman build
  except:
    - source

pages:
  script:
    - bundle exec middleman build
  artifacts:
    paths:
      - public
  only:
    - source