Skip to content
This repository was archived by the owner on May 12, 2020. It is now read-only.

Commit c8cb8c8

Browse files
committed
Remove saucelabs support
1 parent 2884140 commit c8cb8c8

File tree

3 files changed

+0
-64
lines changed

3 files changed

+0
-64
lines changed

README.md

-34
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,6 @@ cache:
6969
addons:
7070
apt:
7171
packages:
72-
- jq
7372
- nginx
7473
hosts:
7574
- wp.dev
@@ -108,7 +107,6 @@ script:
108107
- vendor/bin/codecept run -n --coverage --coverage-xml
109108
110109
after_script:
111-
- tnw-send-result-to-saucelabs
112110
- tnw-upload-coverage-to-scrutinizer
113111
- tnw-upload-coverage-to-codecov
114112
@@ -170,17 +168,6 @@ modules:
170168
adminUsername: 'admin'
171169
adminPassword: 'password'
172170
adminPath: '/wp-admin'
173-
# Sauce Labs
174-
host: '%SAUCE_USERNAME%:%SAUCE_ACCESS_KEY%@ondemand.saucelabs.com'
175-
browser: firefox
176-
capabilities:
177-
platform: 'Windows 10'
178-
version: '50.0'
179-
screenResolution: '1024x768'
180-
tunnel-identifier: '%TRAVIS_JOB_NUMBER%'
181-
name: 'WPBS %TRAVIS_JOB_NUMBER% on WP-%WP_VERSION% with PHP-%TRAVIS_PHP_VERSION%'
182-
build: '%TRAVIS_JOB_NUMBER%'
183-
184171
```
185172

186173
## Customization
@@ -199,8 +186,6 @@ All of the setup scripts are located in the [bin](./bin) directory and template
199186
- Setup Nginx to serve a website from a folder on a local domain
200187
1. `tnw-prepare-codeception`
201188
- Install [PHP_CodeSniffer](https://github.com/squizlabs/PHP_CodeSniffer) and [WordPress coding standard](https://github.com/WordPress-Coding-Standards/WordPress-Coding-Standards)
202-
1. `tnw-send-result-to-saucelabs`
203-
- Send Travis test result to [Sauce Labs](https://saucelabs.com/)
204189
1. `tnw-upload-coverage-to-codecov`
205190
- Upload test coverage to [codecov.io](https://codecov.io)
206191
1. `tnw-upload-coverage-to-scrutinizer`
@@ -250,25 +235,6 @@ extensions:
250235
suites: ['acceptance']
251236
```
252237

253-
### Sauce Labs
254-
255-
The WordPress coding standard installation is done through the
256-
[tnw-send-result-to-saucelabs](./bin/tnw-send-result-to-saucelabs) bash script. The basic process goes as follows:
257-
258-
1. Find Sauce Labs job id by `$TRAVIS_JOB_NUMBER`.
259-
1. Determine test result by `$TRAVIS_TEST_RESULT`.
260-
1. Send test result to Sauce Labs via REST API.
261-
262-
Note: You must annotate Sauce Labs job's `build` equals to `$TRAVIS_JOB_NUMBER` like so:
263-
264-
```
265-
modules:
266-
config:
267-
WPWebDriver:
268-
capabilities:
269-
build: '%TRAVIS_JOB_NUMBER%'
270-
```
271-
272238
### Codecov.io
273239

274240
The Codecov.io test coverage uploading is done through the

bin/tnw-send-result-to-saucelabs

-29
This file was deleted.

composer.json

-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,6 @@
4040
"bin/tnw-install-nginx",
4141
"bin/tnw-install-wordpress",
4242
"bin/tnw-prepare-codeception",
43-
"bin/tnw-send-result-to-saucelabs",
4443
"bin/tnw-upload-coverage-to-codecov",
4544
"bin/tnw-upload-coverage-to-scrutinizer"
4645
]

0 commit comments

Comments
 (0)