Commit 96a9aa51 authored by Dan Allen's avatar Dan Allen

resolves #6 set up CI job to run linter, test suite, and coverage

parent d824a704
image: node:8
before_script:
- npm install -g yarn
stages:
- setup
- test
yarn-install:
stage: setup
script:
- yarn --cache-folder=.yarn-cache install
cache:
paths:
- node_modules/
- .yarn-cache/
gulp-lint:
stage: test
cache:
policy: pull
paths:
- node_modules/
script: node_modules/.bin/gulp lint
yarn-test:
stage: test
cache:
policy: pull
paths:
- node_modules/
script: yarn test
artifacts:
paths:
- coverage
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment