image: node:4.2.2

pages:
  cache:
    paths:
      - node_modules/
  script:
    - npm update
    - npm install -g bower
    - bower install
  artifacts:
    paths:
    - public
  only:
  - master

image: node:4.2.2

pages:
  cache:
    paths:
      - node_modules/
  script:
    - npm update
    - npm install -g bower
    - bower install --allow-root
  artifacts:
    paths:
    - public
  only:
  - master

Allow root for bower during ci.
Allow root for bower during ci.
