Skip to content

Commit 3b3e5e1

Browse files
committed
switch to codecov python uploader
1 parent 3dbdbe6 commit 3b3e5e1

File tree

2 files changed

+13
-5
lines changed

2 files changed

+13
-5
lines changed

.travis.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
language: java
22
sudo: false # faster builds
3+
before_script:
4+
- pip install --user codecov
35

46
after_success:
5-
- bash <(curl -s https://codecov.io/bash)
7+
- codecov

README.md

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,11 +41,14 @@ Add to your `.travis.yml` file.
4141
language:
4242
java
4343

44+
before_script:
45+
- pip install --user codecov
46+
4447
after_success:
45-
- bash <(curl -s https://codecov.io/bash)
48+
- codecov
4649
```
4750
48-
> All other CI you can simply run `bash <(curl -s https://codecov.io/bash)`.
51+
> Another option is our [Bash uploader](https://github.com/codecov/codecov-bash)
4952
5053
## Private Repos
5154
@@ -55,13 +58,16 @@ env:
5558
global:
5659
- CODECOV_TOKEN=:uuid-repo-token
5760
61+
before_script:
62+
- pip install --user codecov
63+
5864
after_success:
59-
- bash <(curl -s https://codecov.io/bash)
65+
- codecov
6066
```
6167

6268
View source and learn more about [Codecov Global Uploader][4]
6369

6470
[1]: https://codecov.io/
6571
[2]: https://twitter.com/codecov
6672
[3]: mailto:[email protected]
67-
[4]: https://github.com/codecov/codecov-bash
73+
[4]: https://github.com/codecov/codecov-python

0 commit comments

Comments
 (0)