filter:
    excluded_paths:
        - '*.min.js'
        - 'dist/*'
checks:
    javascript: true
build:
    dependencies:
        before:
            - npm install -g mocha
            - npm install -g chai
            - npm install -g jsdom
            - npm install -g jsdom-global
            - npm install -g istanbul   # or add it as part of your package.json
    tests:
        override:
            -
                command: 'istanbul cover --report clover -x *.test.js _mocha -- test/index.tests.js -R spec -r jsdom-global/register'
                coverage:
                    file: 'coverage/clover.xml'
                    format: 'clover'