Skip to content

Commit e436f69

Browse files
committed
env. var change
1 parent 3ab1018 commit e436f69

File tree

3 files changed

+14
-15
lines changed

3 files changed

+14
-15
lines changed

.travis.yml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,10 @@ node_js:
44
before_script:
55
# Install Testspace Runner
66
- ./testspace_install.sh
7+
- export PATH="${HOME}/testspace:${PATH}"
78
- npm install -g gulp
9+
810
script:
911
- gulp build
10-
11-
# Publish Test Results along with Coverage
12-
- export PATH="${HOME}/testspace:${PATH}"
13-
# Testspace credentials: "[email protected]/myproject/myspace"
14-
- testspace config url ${TESTSPACE_USER_TOKEN}:@${TESTSPACE_URL}
15-
- testspace publish [Tests]test/reports/junitresults.xml test/reports/coverage/clover.xml
12+
# Publish Test Results along with Coverage
13+
- testspace publish [Tests]test/reports/junitresults.xml test/reports/coverage/clover.xml ${TESTSPACE_URL}

readme.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,9 @@ Checkout the [Space](https://samples.testspace.com/projects/javascript/spaces/ja
3333
***
3434

3535
To fork this example using Travis requires:
36-
- Create an account at www.testspace.com
37-
- Travis Environment Variables:
38-
- `TESTSPACE_USER_TOKEN` set to the `value` defined as your [Access token](http://help.testspace.com/using-your-organization:user-settings).
39-
- `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. This example uses `samples.testspace.com/javascript/jasmine`.
36+
- Account at www.testspace.com.
37+
- Travis Environment Variable:
38+
- `TESTSPACE_URL` = `credentials:@my-org-name.testspace.com/my-project/my-space`
39+
- `credentials` set to `username:password` or your [access token](http://help.testspace.com/using-your-organization:user-settings).
40+
- `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.
41+

shippable.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,17 +5,16 @@ node_js:
55

66
env:
77
global:
8-
- secure: c013J4rEn4RTsfrHmQZHYkGbI0yo0XpknnuIYgn6dSxw9j8Hz+YdPFVvumqZrpAoR/Bt24StIcsB6SHShKA0LErs4X/PJL2gjCSuzaywiUq+2sBlYAb6YuBhPDlrRGR0pTX1cj3VxkarOgw0sUegRfE5YODgjupNFxgblLpPfUuJ7aTrsLfmBjfrSWivwLq5uMDt3njJmwI8qcDn3OrZ5UgF4mObQ/4/V4ImhBox9BHjKr38BpSigDdW15+QuhbrGIuC8LqmQ5dclhDScC5tvPsix41K1Ni1wLYtkhRbqF9FLpIk+IDnyWai4NjuJWACLdY9NlknjpSPTf1Uoji6yg==
9-
8+
- secure: RxFIwZUbf+Kec/kF37Iu8YaekLQDCjDP2YTCbqLi4mNHsbc4WRohUGXXYgCS6wSV8vEW3ditOFhTx/rchMJdJRonL1fNI6hSVLbFU39RGB/vhJXTGE8oU9dV0bK1a3vPmSoyWIhbODhS751nAlgMgd0U6QNxhRE/3SLuiD3pTGbV5XY13iJGzNIijCrrIu0FfgfNwkf5ezJBW+lzd/Cr5PJyu+mwRv3L5WPmhDslr6KGh4gkxnu+o1pa0x/S+M7YIQ+uy+5Y5N4pSS3TboVfsufrkCGI8CPr5WZjnKbejeN88kIUxSxEu0+xOo1vNX29uwh98HGpGcbmwSQgbUtFow==
9+
1010
before_script:
1111
- ./testspace_install.sh
1212
- export PATH="${HOME}/testspace:${PATH}"
1313
- mkdir -p shippable/codecoverage
1414
- mkdir -p shippable/testresults
1515
script:
16-
- testspace config url $TESTSPACE_TOKEN
17-
- testspace import .testspace.xml
18-
- testspace run
16+
- testspace import .testspace.xml ${TESTSPACE_URL}
17+
- testspace run ${TESTSPACE_URL}
1918

2019
after_script:
2120
- cp test/reports/junitresults.xml shippable/testresults

0 commit comments

Comments
 (0)