Skip to content

Commit

Permalink
Ship coverage to web server from Travis CI.
Browse files Browse the repository at this point in the history
Closes #57.
  • Loading branch information
flatheadmill committed Aug 5, 2013
1 parent cfe8824 commit 905ad4b
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion t/test
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,17 @@ echo ""

(proof run t/*/*.t.js | tee .proof.out | proof progress) || (proof errors < .proof.out) || exit 1

if [ "$TRAVIS" = "true" ] || [ "$MINIFY" = "true" ]; then
if [ "$TRAVIS" = "true" ]; then
echo "generating coverage"
t/cover

echo "submitting coverage to coveralls.io"
cat coverage/lcov.info | node_modules/.bin/coveralls > /dev/null

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

if [ "$TRAVIS" = "true" ] || [ "$MINIFY" = "true" ]; then
echo ""
echo "minified"
echo ""
Expand Down

0 comments on commit 905ad4b

Please sign in to comment.