.gitlab-ci.yml 398 Bytes
Newer Older
1
image: ruby:2.3
2

Achilleas Pipinellis's avatar
Achilleas Pipinellis committed
3 4 5
cache:
  paths:
  - vendor
6

Achilleas Pipinellis's avatar
Achilleas Pipinellis committed
7 8 9 10 11 12 13 14 15 16
test:
  script:
  - apt-get update -yqqq
  - apt-get install -y nodejs
  - bundle install --path vendor
  - bundle exec middleman build
  except:
    - master

pages:
17 18 19 20
  script:
  - apt-get update -yqqq
  - apt-get install -y nodejs
  - bundle install --path vendor
21
  - bundle exec middleman build
22 23
  artifacts:
    paths:
24
    - public
25
  only:
Achilleas Pipinellis's avatar
Achilleas Pipinellis committed
26
  - master