.gitlab-ci.yml 774 Bytes
Newer Older
David Haynes's avatar
David Haynes committed
1
image: node:7.6.0
David Haynes's avatar
David Haynes committed
2 3 4

build_css:
    before_script:
5
        - npm install
6
        - npm install -g grunt-cli
7
        - npm install -g bower
8
        - apt-get update
9 10
        - apt-get install ruby -y
        - gem install sass
David Haynes's avatar
David Haynes committed
11
        - bower install --allow-root
David Haynes's avatar
David Haynes committed
12
    script:
David Haynes's avatar
David Haynes committed
13
        - grunt build
14 15
    artifacts:
        paths:
16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34
            - masonstrap/masonstrap.min.css

pages:
    - npm install
    - npm install -g grunt-cli
    - npm install -g bower
    - apt-get update
    - apt-get install ruby -y
    - gem install sass
    - bower install --allow-root
    - grunt build
    - mkdir .public
    - cp index.html demo.html .public
    - cp -r assets .public
    - cp -r bower_components .public
    - mv .public public
    artifacts:
        paths:
            - public