From 2ba0686a2fad328b1aa47413bc09dae4bc94eaac Mon Sep 17 00:00:00 2001 From: James Talmage Date: Tue, 22 Dec 2015 03:40:55 -0500 Subject: [PATCH] travis.yml: simplify piping coverage to coveralls `tap` automatically uploads coverage to coveralls for branches, but not PR's. That required an ugly workaround in .travis.yml to manually upload only for PR's. Since we now use `nyc` directly, and pass the the `--no-cov` flag in our `tap` commands, this is no longer a problem. --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 0c48dee405..d56b00bc37 100644 --- a/.travis.yml +++ b/.travis.yml @@ -4,4 +4,4 @@ node_js: - '0.12' - '0.10' after_success: - - '[ -z "$COVERALLS_REPO_TOKEN" ] && tap --coverage-report=text-lcov | ./node_modules/.bin/coveralls' + - 'cat ./coverage/lcov.info | ./node_modules/.bin/coveralls'