.gitlab-ci.yml 541 Bytes
Newer Older
1
image: ruby
2
3
4
5
6
7
8

cache:
  paths:
  - vendor

test:
  script:
9
  - apt-get update -y
10
  - apt-get install -y nodejs npm
11
  - npm install -g bower
12
  - bundle install --path vendor
13
  - bower --allow-root install
14
  - bundle exec middleman build
15
  - du -hs build
16
17
18
19
20
  except:
    - master

pages:
  script:
21
  - apt-get update -y
22
  - apt-get install -y nodejs npm
23
  - npm install -g bower
24
  - bundle install --path vendor
25
  - bower --allow-root install
26
  - bundle exec middleman build
27
  - du -hs build
28
29
  artifacts:
    paths:
30
    - build
31
32
  only:
  - master