69
69
addons:
70
70
apt:
71
71
packages:
72
- - jq
73
72
- nginx
74
73
hosts:
75
74
- wp.dev
@@ -108,7 +107,6 @@ script:
108
107
- vendor/bin/codecept run -n --coverage --coverage-xml
109
108
110
109
after_script:
111
- - tnw-send-result-to-saucelabs
112
110
- tnw-upload-coverage-to-scrutinizer
113
111
- tnw-upload-coverage-to-codecov
114
112
@@ -170,17 +168,6 @@ modules:
170
168
adminUsername: 'admin'
171
169
adminPassword: 'password'
172
170
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
-
184
171
```
185
172
186
173
## Customization
@@ -199,8 +186,6 @@ All of the setup scripts are located in the [bin](./bin) directory and template
199
186
- Setup Nginx to serve a website from a folder on a local domain
200
187
1 . ` tnw-prepare-codeception `
201
188
- 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/ )
204
189
1 . ` tnw-upload-coverage-to-codecov `
205
190
- Upload test coverage to [ codecov.io] ( https://codecov.io )
206
191
1 . ` tnw-upload-coverage-to-scrutinizer `
@@ -250,25 +235,6 @@ extensions:
250
235
suites: ['acceptance']
251
236
```
252
237
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
-
272
238
### Codecov.io
273
239
274
240
The Codecov.io test coverage uploading is done through the
0 commit comments