Skip to content

Commit f273f9a

Browse files
committed
updates for badges
1 parent 0e28cc7 commit f273f9a

File tree

1 file changed

+19
-8
lines changed

1 file changed

+19
-8
lines changed

README.md

Lines changed: 19 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,18 @@
66
Sample demonstrates techniques for using Testspace with Java code and the [JUnit](http://junit.org/).
77

88
***
9+
Using Multiple Online CI Services:
910

1011
[![Build Status](https://travis-ci.org/testspace-samples/java.junit.svg?branch=master)](https://travis-ci.org/testspace-samples/java.junit)
11-
[![Space Health](https://samples.testspace.com/projects/88/spaces/294/badge)](https://samples.testspace.com/projects/88/spaces/294 "Test Cases")
12-
[![Space Metric](https://samples.testspace.com/projects/88/spaces/294/metrics/236/badge)](https://samples.testspace.com/projects/88/spaces/294/metrics#metric-236 "Line/Statement Coverage")
12+
[![Run Status](https://api.shippable.com/projects/5722082e2a8192902e1e3e96/badge?branch=master)](https://app.shippable.com/projects/5722082e2a8192902e1e3e96)
13+
14+
***
15+
Publishing **Test Content** using www.testspace.com.
16+
17+
[![Space Health](https://samples.testspace.com/projects/124/spaces/454/badge)](https://samples.testspace.com/projects/124/spaces/454 "Test Cases")
18+
[![Space Metric](https://samples.testspace.com/projects/124/spaces/454/metrics/293/badge)](https://samples.testspace.com/spaces/454/schema/Code%20Coverage "Code Coverage (branches)")
19+
[![Space Metric](https://samples.testspace.com/projects/124/spaces/454/metrics/295/badge)](https://samples.testspace.com/spaces/454/schema/Code%20Coverage "Code Coverage (methods)")
20+
1321

1422
***
1523

@@ -23,16 +31,19 @@ Build examples:
2331
Publishing results example:
2432

2533
<pre>
26-
testspace publish target/surefire-reports/TEST*.xml target/site/cobertura/coverage.xml
34+
testspace [Tests]target/surefire-reports/TEST*.xml target/site/cobertura/coverage.xml $TESTSPACE_TOKEN/$BRANCH_NAME
2735
</pre>
2836

29-
Checkout the [Space](https://samples.testspace.com/projects/java/spaces/junit).
37+
Checkout the [Space](https://samples.testspace.com/projects/java.junit).
3038

3139
***
3240

33-
To fork this example using Travis requires:
41+
To replicate this sample:
3442
- Account at www.testspace.com.
35-
- Travis Environment Variable:
36-
- `TESTSPACE_URL` = `credentials:@my-org-name.testspace.com/my-project/my-space`
43+
- CI Environment Variable called **TESTSPACE_TOKEN** required:
44+
- `TESTSPACE_TOKEN` = `[email protected]/my-project`
3745
- `credentials` set to `username:password` or your [access token](http://help.testspace.com/using-your-organization:user-settings).
38-
- `my-org-name.testspace.com/my-project/my-space` based on your subdomain, project, and space names. Refer [here](http://help.testspace.com/reference:runner-reference#login-credentials) for more details.
46+
- `my-org-name.testspace.com/my-project` based on your *subdomain* and *project* names. Refer [here](http://help.testspace.com/reference:runner-reference#login-credentials) for more details.
47+
48+
49+

0 commit comments

Comments
 (0)