Skip to content

Commit

Permalink
ci: coveralls (#2350)
Browse files Browse the repository at this point in the history
* add coveralls
* enable slather for ObjC
  • Loading branch information
jayahariv authored Jan 26, 2019
1 parent 8286676 commit 8a48609
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 1 deletion.
1 change: 1 addition & 0 deletions .coveralls.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
repo_token: $COVERALL_REPO_TOKEN
8 changes: 8 additions & 0 deletions .slather.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# .slather.yml

coverage_service: coveralls
xcodeproj: CouchbaseLite.xcodeproj
scheme: "CBL ObjC"
ignore:
- vendor/*
- Swift/*
5 changes: 4 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,7 @@ env:
before_install:
- brew update
- brew install doxygen
script: xcodebuild test -project CouchbaseLite.xcodeproj -scheme "$SCHEME" -sdk iphonesimulator -destination "platform=macOS" | xcpretty -c
- gem install slather
script: xcodebuild test -project CouchbaseLite.xcodeproj -scheme "$SCHEME" -sdk iphonesimulator -destination "platform=iOS Simulator,name=iPhone XS" -enableCodeCoverage YES | xcpretty -c
after_success:
- test "$SCHEME" = "CBL ObjC" && slather

0 comments on commit 8a48609

Please sign in to comment.