Skip to content

Commit

Permalink
Build on Travis without shipping to web server.
Browse files Browse the repository at this point in the history
No longer shipping artifiacts to my own personal web server. Instead I'm
simply reporting the coverage to the command line. All I need to do is
indicate whether or not it is at 100%. I'm not going to want to go back
and audit it line by line.

Why do I need this when I'm submitting to Coveralls? Because Coveralls
only tracks line coverage, not branch coverage.
  • Loading branch information
flatheadmill committed Dec 15, 2015
1 parent c64037e commit de5b17f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
4 changes: 0 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,3 @@ branches:
before_install:
- npm install
- npm install istanbul coveralls

env:
global:
- secure: "QzxLC+ek91FR0T1Dpj3opmMvnOp5vHpQJtOSZUlyvQtbHpgxT2ntUXl/TXHIxk+xxdaX/KVCmmaoj2FVTMPW2dDxFnKzukOj2Ah5dMvJrc1CcTRA9/p+aNObKLuSqXGGp0sdqV28+CJdc/jT/322lBiHLCBqD18noFfLS4XBoPE="
5 changes: 3 additions & 2 deletions t/test
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,14 @@ echo ""
(proof run t/*/*.t.js | tee .proof.out | proof progress) || (proof errors < .proof.out) || exit 1

if [ "$TRAVIS" = "true" ]; then
echo ""
echo "running with coverage"
t/cover
node_modules/.bin/istanbul report --format text
echo ""

echo "submitting to coveralls.io"
(cat coverage/lcov.info | node_modules/.bin/coveralls) > /dev/null 2>&1

curl 'https://www.prettyrobots.com/travisty' | sh
fi

echo ""

0 comments on commit de5b17f

Please sign in to comment.