Skip to content

Commit a7ba76e

Browse files
committed
URL token updates
1 parent d322d3c commit a7ba76e

3 files changed

Lines changed: 10 additions & 18 deletions

File tree

.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: "credentials@myorg.testspace.com/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*.xml target/site/cobertura/coverage.xml
14+
- testspace publish target/surefire-reports/TEST*.xml target/site/cobertura/coverage.xml ${TESTSPACE_URL}

README.md

Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -31,13 +31,8 @@ Checkout the [Space](https://samples.testspace.com/projects/java/spaces/junit).
3131
***
3232

3333
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>
34+
- Account at www.testspace.com.
35+
- Travis Environment Variable:
36+
- `TESTSPACE_URL` = `credentials:@my-org-name.testspace.com/my-project/my-space`
37+
- `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.

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: gcPX8hFTKTlc0fQBeNM6JJh+IcVmyBa+PrgQ/Skbi0u+IXrW/zCVdbCeqej3iTw48UeYvWhdCsoaXTrWaff6/r8MBoFgLp44+ytRI8B3qpoXleCS0Z39G1o5dmkySfzbgrBLixs809f+GoUoEGrbkN3iRuFRG2WsgpxTrHZycUy/Cg30ixxvt5SqnZvrFSRNbaNOpTPUMuo8ZArLYx4F7RKRjiJ7XM+Mkw8sj1PyOvXv6Er38t0mfRg/2Pk/989Ec+Wf2MafwYQRG1IFXeOgvOtW6nmq20tORXsYo/xrpaRsY2CMzUzHbYSHTRoTIeU4jLxoudGGqykGTOcDtoRmnw==
6-
5+
- secure: KgYg3NTXpg3NB90KG2FRmZD5IeOOAoP86+8TXpPetGmytSR0e/wk8ZNjjgzrt9cac/sMvKIXDOLnWU0km0isi3eeGD35u1u52OMdvRpjwNLfpx1FzNHP5kMnsCwMr7oh9Q6LUpmBCV/+Z2jCApr8tcs37azbIx+ZJiCzvETVwbVh/j6gvdFJadAOQIbL5HYsAxKkNGOGc2uqxbSdJ9v/pJY8/YtvWyNVT4TiCc0ay9OdvD8i/+/qekGFcqerBhAWW9fMzTN19F3JCnd9fx5QHqf+G5YwCkg3XXaB/R/tlnylxmMrerbEaiKyFj+LP5R8o1c6LFQzxbrmrJeR0PAXLA==
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)