Skip to content

Commit 20f10a9

Browse files
committed
2 parents 04d6382 + d42e8c1 commit 20f10a9

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

‎README.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,14 @@ script:
2222
after_success:
2323
- bash <(curl -s https://codecov.io/bash)
2424
```
25+
2526
> Reference http://docs.travis-ci.com/user/languages/objective-c/
2627
27-
> All other CI you can simply run `bash <(curl -s https://codecov.io/bash)`.
28+
The two important parts are:
29+
* `GCC_INSTRUMENT_PROGRAM_FLOW_ARCS=YES GCC_GENERATE_TEST_COVERAGE_FILES=YES` (To have Xcode create code coverage files)
30+
* `bash <(curl -s https://codecov.io/bash)` (To upload code coverage to Codecov.io)
31+
32+
This is used to have Xcode output code coverage files for Codecov.io to process.
2833

2934
## Private Repos
3035
> Set `CODECOV_TOKEN` in your environment variables.
@@ -45,3 +50,4 @@ View source and learn more about [Codecov Global Uploader][4]
4550
[2]: https://twitter.com/codecov
4651
[3]: mailto:hello@codecov.io
4752
[4]: https://github.com/codecov/codecov-bash
53+

0 commit comments

Comments
 (0)