Skip to content

Commit b64d313

Browse files
author
Steve Peak
authored
Update README.md
1 parent d483f0c commit b64d313

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

README.md

+5-4
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Find coverage reports for all the [languages below](#languages), gather them and
1414
## Usage
1515

1616
```sh
17-
pip install --user codecov && codecov --token=<repo token>
17+
pip install --user codecov && codecov -t the-repository-upload-token
1818
```
1919
> `--user` argument not needed for Python projects. [See example here](https://github.com/codecov/example-python).
2020
@@ -35,7 +35,7 @@ passenv = CI TRAVIS_BUILD_ID TRAVIS TRAVIS_BRANCH TRAVIS_JOB_NUMBER TRAVIS_PULL_
3535
deps = codecov>=1.4.0
3636
commands = codecov -e TOXENV
3737
```
38-
> See all the environment variables for other CI providers [here](https://github.com/codecov/codecov-python/blob/master/codecov/__init__.py#L260-L430)
38+
> See all the environment variables for other CI providers [here](https://github.com/codecov/codecov-python/blob/master/codecov/__init__.py#L254-L468)
3939
4040

4141
## Configuration
@@ -45,7 +45,8 @@ commands = codecov -e TOXENV
4545
| Argument | Environment | Description |
4646
| -------- | --------------- | -------------------------------------------------------------------------------------------------------------------------------------------------- |
4747
| `-t` | `CODECOV_TOKEN` | Private repo token for uploading |
48-
| `-e` | `CODECOV_ENV` | List of config vars to store for the build [see example](https://codecov.io/github/pyca/cryptography?ref=d47946f3d3e358b706e996d0b951d496ffc2461f) |
48+
| `-e` | `CODECOV_ENV` | List of config vars to store for the build |
49+
| `-F` | | Flag this upload to group coverage reports. Ex. `unittests` or `integration` |
4950

5051
```yaml
5152
# public repository on Travis CI
@@ -60,7 +61,7 @@ after_success:
6061
install:
6162
- pip install --user codecov
6263
after_success:
63-
- codecov -t :repo-token
64+
- codecov -t the-repository-upload-token
6465
```
6566
6667

0 commit comments

Comments
 (0)