image: node:4.2.6

all_tests:
  script:
    - npm install
    - grunt test

test:
  image: node:4.2.6
  before_script:
    - npm install
    - npm install -g grunt-cli
  script:
    - grunt test
  cache:
    paths:
      - node_modules

Fix GitLab CI when using Docker executor
project: Fix GitLab CI when using Docker executor
