Skip to content

Commit 299a4c7

Browse files
committed
new bash method
1 parent e31ce77 commit 299a4c7

File tree

2 files changed

+24
-16
lines changed

2 files changed

+24
-16
lines changed

.travis.yml

+1-4
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,4 @@
11
language: java
22

3-
before_install:
4-
sudo pip install codecov
5-
63
after_success:
7-
codecov
4+
- bash <(curl -s https://codecov.io/bash)

README.md

+23-12
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,13 @@
1-
xtend -> Codecov.io
2-
=======
3-
| [https://codecov.io/][1] | [@codecov][2] | [[email protected]][3] |
4-
| ------------------------ | ------------- | --------------------- |
5-
=======
1+
Codecov XTend Example
2+
=====================
63

7-
> This repository serves as an **Example** on how to use codecov uploader for xtend.
4+
| [https://codecov.io][1] | [@codecov][2] | [[email protected]][3] |
5+
| ----------------------- | ------------- | --------------------- |
86

9-
## Usage
7+
This repository serves as an **example** on how to use [Codecov Global][4] for XTend.
108

119

12-
#### Add JaCoCo plugin
10+
### Add Jacoco plugin
1311
```xml
1412
<plugin>
1513
<groupId>org.jacoco</groupId>
@@ -33,21 +31,34 @@ xtend -> Codecov.io
3331
```
3432

3533

36-
# [![travis-org](https://avatars2.githubusercontent.com/u/639823?v=2&s=50)](https://travis-ci.org) Travis C
34+
# Travis CI
3735

3836
Add to your `.travis.yml` file.
3937
```yml
4038
language:
4139
java
4240

43-
before_install:
44-
sudo pip install codecov
41+
after_success:
42+
- bash <(curl -s https://codecov.io/bash)
43+
```
44+
45+
> All other CI you can simply run `bash <(curl -s https://codecov.io/bash)`.
46+
47+
## Private Repos
48+
49+
Add to your `.travis.yml` file.
50+
```yml
51+
env:
52+
global:
53+
- CODECOV_TOKEN=:uuid-repo-token
4554
4655
after_success:
47-
codecov
56+
- bash <(curl -s https://codecov.io/bash)
4857
```
4958

59+
View source and learn more about [Codecov Global Uploader][4]
5060

5161
[1]: https://codecov.io/
5262
[2]: https://twitter.com/codecov
5363
[3]: mailto:[email protected]
64+
[4]: https://github.com/codecov/codecov-bash

0 commit comments

Comments
 (0)