Skip to content

Commit

Permalink
(#3) Converage
Browse files Browse the repository at this point in the history
  • Loading branch information
Sergey Minakov committed Nov 23, 2016
1 parent 2de1ef1 commit 46cfc23
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,7 @@ before_install:

script:
- ./Package-Builder/build-package.sh $TRAVIS_BUILD_DIR

after_success:
- sh ./common/coverage.sh

4 changes: 4 additions & 0 deletions common/coverage.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
xcodebuild -scheme MagickWand -project MagickWand.xcodeproj -sdk macosx -configuration Release -enableCodeCoverage YES test build test
bash <(curl -s https://codecov.io/bash)
fi

0 comments on commit 46cfc23

Please sign in to comment.