Skip to content

Commit d9ab88c

Browse files
committed
URL token updates
1 parent 5a7e98e commit d9ab88c

File tree

3 files changed

+11
-18
lines changed

3 files changed

+11
-18
lines changed

.travis.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,5 @@ script:
1010
- mvn clean compile
1111
- mvn cobertura:cobertura -Dcobertura.report.format=xml
1212

13-
# Testspace credentials: "[email protected]/myproject/myspace
14-
- testspace config url ${TESTSPACE_USER_TOKEN}:@${TESTSPACE_URL}
1513
# Publish Test Results along with Coverage
16-
- testspace publish target/surefire-reports/TEST-TestSuite.xml target/site/cobertura/coverage.xml
14+
- testspace publish target/surefire-reports/TEST-TestSuite.xml target/site/cobertura/coverage.xml ${TESTSPACE_URL}

README.md

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -28,16 +28,12 @@ Publishing results example:
2828

2929
Checkout the [Space](https://samples.testspace.com/projects/java/spaces/testng).
3030

31+
3132
***
3233

3334
To fork this example using Travis requires:
34-
- Create an account at www.testspace.com
35-
- Travis Environment Variables:
36-
- `TESTSPACE_USER_TOKEN` set to the `value` defined as your [Access token](http://help.testspace.com/using-your-organization:user-settings).
37-
- `TESTSPACE_URL` set to `my-org-name.testspace.com/my-project/my-space`. Refer [here](http://help.testspace.com/reference:runner-reference#config) for more details.
38-
39-
To fork this example using C9 requires installing Java JDK 7 as root:
40-
41-
<pre>
42-
apt-get install openjdk-7-jdk
43-
</pre>
35+
- Account at www.testspace.com.
36+
- Travis Environment Variable:
37+
- `TESTSPACE_URL` = `credentials:@my-org-name.testspace.com/my-project/my-space`
38+
- `credentials` set to `username:password` or your [access token](http://help.testspace.com/using-your-organization:user-settings).
39+
- `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.

shippable.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,12 @@ language: java
22

33
env:
44
global:
5-
- secure: kmMY3oyTMTfw20msctpDr3K0Q0W1pVJQAgvrJgvs72wuQW5sEdIcnMYMvXpk5nIK/QPhMU9w0yYGf93ExrkhRE6vCO3ETG4maJwg2TJa8OFnLtqmNSeT/bktmUriazb3c0gwLJ7MwBCr+3M2WMivgjlaw6F+cQt1JiyXJ5SACMWtCl7qq35JxVdiNCe69fYca596e2crdY+yASYEDiZy+fQn8EBrlEx2E2cM79nK2KPdkazAIa98K30hDQyUoDsYsVfeBJDBXauu3XFOBqSBVO5aJ+WnYNnsienTPd0Cfqfe7/9UZ3zHnnaKblNr+LU2YlJvlOu2af4IYWIdE50BEw==
6-
5+
- secure: dB85bpbd+0gOvdOcFTHLHKKyW8TB18p+UK9g1dg/DGUFLzajdO6GAW34+1Pj4K6K7yb81BBbow3PdQCMME91goq7JYy8rqUzmwuUjVlOZ+XnIGuGtPC3uXyXbd5/qn2xcRAQvyd47ah6D9g1dd1OoOuaQCgV66WoieqsmA4UjS2nAWx3IE8YofSEY4M0XIQaoZQ6fgbFYMaOchG984ErkX1FdiRExXTxaPvnWmD6iBNBa8l3u7Z9DfPp7Wb7VoU9VSz85ZWXCWn4n9c4zPbsL+l7Ju6bHJe7vqXBNIS9dOZ582unkxI9LaK3y7/5OxB7W2iZzftVh/HCHVzPcn0VNw==
6+
77
before_script:
88
- ./testspace_install.sh
99
- export PATH="${HOME}/testspace:${PATH}"
1010

1111
script:
12-
- testspace config url $TESTSPACE_TOKEN
13-
- testspace import .testspace.xml
14-
- testspace run
12+
- testspace import .testspace.xml ${TESTSPACE_URL}
13+
- testspace run ${TESTSPACE_URL}

0 commit comments

Comments
 (0)