.travis.yml
language: node_js
node_js:
- stable
env:
- CODECLIMATE_REPO_TOKEN=01df716337e125a8f6ff8b485f909182e7cab71f623ccf22d076a0cdf24b1965
- CODECLIMATE_API_HOST=https://codebeat.co/webhooks/code_coverage CODECLIMATE_REPO_TOKEN=01df716337e125a8f6ff8b485f909182e7cab71f623ccf22d076a0cdf24b1965
before_install:
- export CHROME_BIN=chromium-browser
- export DISPLAY=:99.0
- sh -e /etc/init.d/xvfb start
- yarn config set registry "https://registry.npmjs.org"
- yarn global add greenkeeper-lockfile@1
- yarn global add codeclimate-test-reporter
before_script:
- greenkeeper-lockfile-update
script:
- node_modules/karma/bin/karma start karma.conf.js --single-run
after_script:
- greenkeeper-lockfile-upload
after_success:
- codeclimate-test-reporter < coverage/lcov.info