Skip to content

Commit 686d918

Browse files
committed
evn. var update
1 parent 7ad6d25 commit 686d918

3 files changed

Lines changed: 14 additions & 14 deletions

File tree

.travis.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,11 @@ php:
66
before_install:
77
# Install Testspace Runner
88
- ./testspace_install.sh
9+
- export PATH="${HOME}/testspace:${PATH}"
910

1011
script:
1112
- composer install
1213
- vendor/bin/phpunit tests/unit --log-junit tests-results.xml --coverage-clover coverage.xml
1314

1415
# Publish Test Results along with Coverage
15-
- export PATH="${HOME}/testspace:${PATH}"
16-
# Testspace credentials: "credentials@myorg.testspace.com/myproject/myspace
17-
- testspace config url ${TESTSPACE_USER_TOKEN}:@${TESTSPACE_URL}
18-
- testspace publish [Tests]tests-results.xml{tests/unit} coverage.xml
16+
- testspace publish [Tests]tests-results.xml{tests/unit} coverage.xml ${TESTSPACE_URL}

README.md

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,11 @@ Checkout the [Space](https://samples.testspace.com/projects/php/spaces/phpunit).
2929

3030
***
3131

32+
3233
To fork this example using Travis requires:
33-
- Create an account at www.testspace.com
34-
- Travis Environment Variables:
35-
- `TESTSPACE_USER_TOKEN` set to the `value` defined as your [Access token](http://help.testspace.com/using-your-organization:user-settings).
36-
- `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/php/phpunit`.
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.
39+

shippable.yml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,16 +5,15 @@ php:
55

66
env:
77
global:
8-
- secure: m/zLPx7jBLGuTcen6dSgQ55Xl1ervUz9SjH+qDY7I6KY09EL2Kq1zqAhYIwQcQ/PMkSPlla3USVM2Rptu7zw55yo7qD/tVJ/Nr3DVlnxt/dW/rjQjgGKy5/ak637ZCTUAmLf1fKYVV2UKfwsOVmZFi79mb3vc828y2UW13AfiJY8nprpeukSBoE+wvNQPiduCrWINS6izqoH+QN3ugRklDQJXew05ZXWjFW4EErOn+rKq/dGVOpfcozkGrCDOl9eg/VP/ec+AVMKvNsywUJYbLwkC2cnsLgTb2bG/PLpoKp27ld6jzdG/Dky6otI+/0oNYz9rJdNkO3oXR0+z4PstQ==
9-
8+
- secure: x9LCmBc3wQAwcqqvzCYcfya7V1DcBfflJDF5ANT8GRL29YKAHbh+iCAC77XDnboPG1sfwCMKwCQP7ULvjBL1tSFGrIB+YyvGMDeAzHaGX+jM6bSCOu8fyoy4nHekxALmoZl2Wwj6MnuxZ5+dRiaO/TG7nZRLCg1AncGB0UDEs/Bn23kgPU3GYIeSsVbPbKco8/n9ioMpvTm2lGWgBmu3CfbN4PZrKUq/H5mc3JJd5P5GwlepTJcKoyMnfVZ/+zPBRc9RTZ3dgLOgqoOQVkwB2DPmdvcAs2gqRiBR8xS7gPETX2kJga5/nCcGihHWyhUboPy3UzKdXNww7SuaTxodjw==
9+
1010
before_script:
1111
- ./testspace_install.sh
12+
- export PATH="${HOME}/testspace:${PATH}"
1213
- mkdir -p shippable/testresults
1314

1415
script:
15-
- export PATH="${HOME}/testspace:${PATH}"
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
- cp tests-results.xml shippable/testresults

0 commit comments

Comments
 (0)