Skip to content
This repository was archived by the owner on Jun 15, 2022. It is now read-only.

Commit 4d0c36c

Browse files
authored
Merge pull request #103 from liquidweb/update/dev-dependencies
Update development dependencies
2 parents 5c81562 + cd68805 commit 4d0c36c

File tree

5 files changed

+74
-50
lines changed

5 files changed

+74
-50
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
tests/coverage
22
vendor
3+
*.DS_Store

.travis.yml

Lines changed: 28 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -10,31 +10,51 @@ cache:
1010
- $HOME/.composer/cache
1111

1212
php:
13+
- 7.3
1314
- 7.2
1415
- 7.1
1516
- 7.0
1617

1718
env:
1819
- WP_VERSION=latest WC_VERSION=latest
19-
- WP_VERSION=latest WC_VERSION=3.4.5
20-
- WP_VERSION=latest WC_VERSION=3.3.5
21-
- WP_VERSION=latest WC_VERSION=3.2.6
20+
- WP_VERSION=4.9.9 WC_VERSION=latest
21+
- WP_VERSION=4.9.9 WC_VERSION=3.4.7
22+
- WP_VERSION=4.9.9 WC_VERSION=3.3.5
23+
- WP_VERSION=4.9.9 WC_VERSION=3.2.6
2224

25+
# Considerations for the test matrix:
26+
#
27+
# - The "WC Requires At Least" is 3.2.6, so that's the lowest we need to go
28+
# - WordPress < 5.0 doesn't officially support PHP 7.3.
29+
# - WordPress 5.0 requires at least WooCommerce 3.5.1
2330
matrix:
2431
fast_finish: true
2532
include:
2633
- name: Coding Standards
2734
php: 7.2
28-
env: WP_VERSION=trunk WC_VERSION=latest RUN_PHPCS=1
29-
# Generate code coverage from PHP 7.1.
35+
env: WP_VERSION=latest WC_VERSION=latest RUN_PHPCS=1
3036
- name: Code Coverage
3137
php: 7.2
32-
env: WP_VERSION=latest WP_MULTISITE=0 WC_VERSION=latest RUN_CODE_COVERAGE=1
33-
38+
env: WP_VERSION=latest WC_VERSION=latest RUN_CODE_COVERAGE=1
39+
- name: Bleeding Edge
40+
php: 7.3
41+
env: WP_VERSION=trunk WC_VERSION=latest
42+
exclude:
43+
- php: 7.3
44+
env: WP_VERSION=4.9.9 WC_VERSION=latest
45+
- php: 7.3
46+
env: WP_VERSION=4.9.9 WC_VERSION=3.4.7
47+
- php: 7.3
48+
env: WP_VERSION=4.9.9 WC_VERSION=3.3.5
49+
- php: 7.3
50+
env: WP_VERSION=4.9.9 WC_VERSION=3.2.6
3451
allow_failures:
3552
- name: Code Coverage
3653
php: 7.2
3754
env: WP_VERSION=latest WP_MULTISITE=0 WC_VERSION=latest RUN_CODE_COVERAGE=1
55+
- name: Bleeding Edge
56+
php: 7.3
57+
env: WP_VERSION=trunk WC_VERSION=latest
3858

3959
before_script:
4060
- export PATH="$HOME/.composer/vendor/bin:$PATH"
@@ -44,7 +64,7 @@ before_script:
4464
chmod +x coveralls.phar
4565
mkdir -p build/logs
4666
fi
47-
- phpenv config-rm xdebug.ini
67+
- phpenv config-rm xdebug.ini || true
4868
- |
4969
if [[ ${GITHUB_AUTH_TOKEN} != '' ]]; then
5070
composer config -g github-oauth.github.com $GITHUB_AUTH_TOKEN

composer.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,10 +40,13 @@
4040
"phpunit --testsuite=plugin --coverage-html=tests/coverage"
4141
]
4242
},
43+
"scripts-descriptions": {
44+
"test-coverage": "Generate test coverage for the plugin"
45+
},
4346
"config": {
4447
"sort-packages": true,
4548
"platform": {
46-
"php": "7.0"
49+
"php": "7.2"
4750
}
4851
},
4952
"extra": {

composer.lock

Lines changed: 40 additions & 40 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

woocommerce-custom-orders-table.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
* License URI: https://www.gnu.org/licenses/gpl-2.0.html
1111
*
1212
* WC requires at least: 3.2.6
13-
* WC tested up to: 3.5.0
13+
* WC tested up to: 3.5.2
1414
*
1515
* @package WooCommerce_Custom_Orders_Table
1616
* @author Liquid Web

0 commit comments

Comments
 (0)