minimum setup for Coveralls.
Travis CI
xctool test
↓
coveralls.sh
generate gcov
↓
cpp-coveralls
↓
POST
↓
Coveralls
This project has ci
scheme.
Setting ci scheme for Travis CI.(for xctool)
xctool doesn't support Find Implicit Dependencies
.
You have to setting following page.
Find Implicit Dependencies
xctool test ONLY_ACTIVE_ARCH=NO GCC_INSTRUMENT_PROGRAM_FLOW_ARCS=YES GCC_GENERATE_TEST_COVERAGE_FILES=YES
see script/run-test.sh
#!/bin/sh
xcodebuild \
-project Coveralls-iOS.xcodeproj \
-sdk iphonesimulator \
-target Coveralls-iOSTests \
-configuration Debug \
clean build \
ONLY_ACTIVE_ARCH=NO \
TEST_AFTER_BUILD=YES \
GCC_INSTRUMENT_PROGRAM_FLOW_ARCS=YES \
GCC_GENERATE_TEST_COVERAGE_FILES=YES
git checkout -b my-new-feature
git commit -am 'Add some feature'
git push origin my-new-feature
MIT