-
Notifications
You must be signed in to change notification settings - Fork 279
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: Modify coverage scripts to reflect decaff changes
- Loading branch information
michalholasek
committed
Jan 23, 2018
1 parent
74509b1
commit 24725e0
Showing
5 changed files
with
29 additions
and
40 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,8 +2,8 @@ | |
/lib | ||
|
||
# Common for .gitignore and .npmignore | ||
src-cov/ | ||
lcov/ | ||
.DS_Store | ||
coverage/ | ||
site/ | ||
cov.* | ||
.vagrant | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,14 @@ | ||
#!/bin/sh | ||
# Picks up the ./cov.info file and sends the coverage to coveralls.io | ||
# Picks up the ./coverage/lcov.info file and sends the coverage to coveralls.io | ||
|
||
|
||
# Input validation | ||
if [ ! -f ./cov.info ]; then | ||
(>&2 echo "Coverage file 'cov.info' was not found.") | ||
if [ ! -f ./coverage/lcov.info ]; then | ||
(>&2 echo "Coverage file 'lcov.info' was not found.") | ||
(>&2 echo "First run the test suite as 'npm run test:coverage'.") | ||
exit 1 | ||
fi | ||
|
||
|
||
# Coveralls | ||
cat ./cov.info | ./node_modules/.bin/coveralls | ||
cat ./coverage/lcov.info | ./node_modules/.bin/coveralls |