Skip to content

Commit

Permalink
Merge pull request privly#23 from sammyshj/addcoveralls
Browse files Browse the repository at this point in the history
Add coveralls
  • Loading branch information
smcgregor committed Jun 25, 2015
2 parents 684a795 + b784b1e commit daef8c0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,6 @@ before_script:
script:
- export NODE_PATH=$TRAVIS_BUILD_DIR'/privly.safariextension/privly-applications/test/node_modules'
- cd test
- ./run_each.sh ../privly.safariextension/privly-applications/test/karma.conf-ci.js
- "if [ ${TRAVIS_PULL_REQUEST} = 'false' ]; then ./run_each.sh ../privly.safariextension/privly-applications/test/karma.conf-ci.js; fi" #Run the unit tests
- "cd .."
- "if [ ${TRAVIS_PULL_REQUEST} = 'false' ]; then cat ./privly.safariextension/privly-applications/test/coverage/*.lcov | ./privly.safariextension/privly-applications/test/node_modules/coveralls/bin/coveralls.js; fi" # Send the coverage results to coveralls

0 comments on commit daef8c0

Please sign in to comment.