diff --git a/.coveralls.yml b/.coveralls.yml new file mode 100644 index 000000000..ba2c4dcbf --- /dev/null +++ b/.coveralls.yml @@ -0,0 +1 @@ +repo_token: $COVERALL_REPO_TOKEN diff --git a/.slather.yml b/.slather.yml new file mode 100644 index 000000000..8a6241bc7 --- /dev/null +++ b/.slather.yml @@ -0,0 +1,8 @@ +# .slather.yml + +coverage_service: coveralls +xcodeproj: CouchbaseLite.xcodeproj +scheme: "CBL ObjC" +ignore: + - vendor/* + - Swift/* diff --git a/.travis.yml b/.travis.yml index 496effe3d..2b2fbb7c9 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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