Skip to content
Snippets Groups Projects
Unverified Commit 0fc9e42e authored by Jordan Harband's avatar Jordan Harband
Browse files

[Tests] fix coveralls

parent 56411a76
No related branches found
No related tags found
No related merge requests found
......@@ -14,8 +14,7 @@ script:
- 'if [ -n "${LINT-}" ]; then npm run lint ; fi'
- 'if [ "${TEST-}" = true ]; then npm run tests-only ; fi'
- 'if [ -n "${KARMA-}" ]; then npm run tests-karma ; fi'
after_success:
- 'if [ "${TRAVIS_NODE_VERSION}" = "4.6" ]; then npm run cover; cat ./coverage/lcov.info | ./node_modules/.bin/coveralls ; fi'
- 'if [ -n "${COVERAGE-}" ] && [ "${TRAVIS_BRANCH-}" = "master" ]; then npm run cover; cat ./coverage/lcov.info | ./node_modules/.bin/coveralls ; fi'
env:
global:
- TEST=true
......@@ -26,6 +25,8 @@ sudo: false
matrix:
fast_finish: true
include:
- node_js: "node"
env: COVERAGE=true TEST=false
- node_js: "node"
env: KARMA=true TEST=false
- node_js: "node"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment