Skip to content

Commit 5a7d352

Browse files
committed
add more badges
1 parent 44e49c1 commit 5a7d352

File tree

1 file changed

+20
-11
lines changed

1 file changed

+20
-11
lines changed

README.md

Lines changed: 20 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,18 @@
66
Sample demonstrates techniques for using Testspace with C++ code and the [Google Test framework](https://code.google.com/p/googletest).
77

88
***
9-
9+
Using Multiple Online CI Services:
1010
[![Build Status](https://travis-ci.org/testspace-samples/cpp.googletest.svg?branch=master)](https://travis-ci.org/testspace-samples/cpp.googletest)
11-
[![Space Health](https://samples.testspace.com/projects/84/spaces/285/badge)](https://samples.testspace.com/projects/84/spaces/285 "Test Cases")
12-
[![Space Metric](https://samples.testspace.com/projects/84/spaces/285/metrics/179/badge)](https://samples.testspace.com/projects/84/spaces/285/metrics#metric-179 "Line/Statement Coverage")
11+
[![Run Status](https://api.shippable.com/projects/570008739d043da07b099664/badge?branch=master)](https://app.shippable.com/projects/570008739d043da07b099664)
12+
13+
14+
***
15+
Publishing **Test Content** using www.testspace.com.
16+
17+
[![Space Health](https://samples.testspace.com/projects/123/spaces/452/badge)](https://samples.testspace.com/projects/123/spaces/452 "Test Cases")
18+
[![Space Metric](https://samples.testspace.com/projects/123/spaces/452/metrics/289/badge)](https://samples.testspace.com/spaces/452/schema/Code%20Coverage "Code Coverage (lines)")
19+
[![Space Metric](https://samples.testspace.com/projects/123/spaces/452/metrics/288/badge)](https://samples.testspace.com/spaces/452/schema/Code%20Coverage "Code Coverage (branches)")
20+
1321

1422
***
1523

@@ -35,18 +43,19 @@ gcovr --root gtest --filter ".*/samples/.*" --exclude ".*_unittest.*" -x -o buil
3543
Publish **`test results`** along with **`code coverage`**
3644

3745
<pre>
38-
cd gtest
39-
testspace publish [Tests]build/sample*.xml build/coverage.xml
46+
curl -s https://testspace-client.s3.amazonaws.com/testspace-linux.tgz | sudo tar -zxvf- -C /usr/local/bin
47+
cd gtest/build
48+
testspace [Tests]sample*.xml build/coverage.xml $TESTSPACE_TOKEN/$BRANCH_NAME
4049
</pre>
4150

42-
Checkout the [Space](https://samples.testspace.com/projects/cpp/spaces/googletest).
51+
Checkout the [Space](https://samples.testspace.com/projects/cpp.googletest).
4352

4453
***
4554

46-
To fork this example using Travis requires:
55+
To replicate this sample:
4756
- Account at www.testspace.com.
48-
- Travis Environment Variable:
49-
- `TESTSPACE_URL` = `credentials:@my-org-name.testspace.com/my-project/my-space`
57+
- CI Environment Variable called **TESTSPACE_TOKEN** required:
58+
- `TESTSPACE_TOKEN` = `[email protected]/my-project`
5059
- `credentials` set to `username:password` or your [access token](http://help.testspace.com/using-your-organization:user-settings).
51-
- `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.
52-
60+
- `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.
61+

0 commit comments

Comments
 (0)