File tree Expand file tree Collapse file tree 14 files changed +70
-3495
lines changed
Expand file tree Collapse file tree 14 files changed +70
-3495
lines changed Original file line number Diff line number Diff line change @@ -2,6 +2,7 @@ sudo: false
22dist : trusty
33
44language : php
5+ php : 7.2
56
67notifications :
78 email :
2122 - PATH="$TRAVIS_BUILD_DIR/vendor/bin:$PATH"
2223 - WP_CLI_BIN_DIR="$TRAVIS_BUILD_DIR/vendor/bin"
2324
24- matrix :
25- include :
26- - php : 7.2
27- env : WP_VERSION=latest
28- - php : 7.1
29- env : WP_VERSION=latest
30- - php : 7.0
31- env : WP_VERSION=latest
32- - php : 5.6
33- env : WP_VERSION=latest
34- - php : 5.6
35- env : WP_VERSION=3.7.11
36- - php : 5.6
37- env : WP_VERSION=trunk
38- - php : 5.3
39- dist : precise
40- env : WP_VERSION=latest
41-
4225before_install :
4326 - |
4427 # Remove Xdebug for a huge performance increase:
@@ -50,14 +33,42 @@ before_install:
5033 - |
5134 # Raise PHP memory limit to 2048MB
5235 echo 'memory_limit = 2048M' >> ~/.phpenv/versions/$(phpenv version-name)/etc/conf.d/travis.ini
36+ - composer validate
5337
5438install :
55- - composer require wp-cli/wp-cli:dev-master
5639 - composer install
57- - bash bin/install-package-tests.sh
58-
59- before_script :
60- - composer validate
40+ - composer prepare-tests
6141
6242script :
63- - bash bin/test.sh
43+ - composer phpunit
44+ - composer behat
45+
46+ jobs :
47+ include :
48+ - stage : sniff
49+ script :
50+ - composer lint
51+ - composer phpcs
52+ env : BUILD=sniff
53+ - stage : test
54+ php : 7.2
55+ env : WP_VERSION=latest
56+ - stage : test
57+ php : 7.1
58+ env : WP_VERSION=latest
59+ - stage : test
60+ php : 7.0
61+ env : WP_VERSION=latest
62+ - stage : test
63+ php : 5.6
64+ env : WP_VERSION=latest
65+ - stage : test
66+ php : 5.6
67+ env : WP_VERSION=3.7.11
68+ - stage : test
69+ php : 5.6
70+ env : WP_VERSION=trunk
71+ - stage : test
72+ php : 5.4
73+ dist : precise
74+ env : WP_VERSION=latest
Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 11{
22 "name" : " wp-cli/cache-command" ,
3- "description" : " Manages object and transient caches." ,
43 "type" : " wp-cli-package" ,
4+ "description" : " Manages object and transient caches." ,
55 "homepage" : " https://github.com/wp-cli/cache-command" ,
6- "support" : {
7- "issues" : " https://github.com/wp-cli/cache-command/issues"
8- },
96 "license" : " MIT" ,
107 "authors" : [
118 {
1411 "homepage" : " https://runcommand.io"
1512 }
1613 ],
17- "minimum-stability" : " dev" ,
18- "prefer-stable" : true ,
19- "autoload" : {
20- "psr-4" : {
21- "" : " src/"
22- },
23- "files" : [ " cache-command.php" ]
14+ "require" : {
15+ "wp-cli/wp-cli" : " ^2"
2416 },
25- "require" : {},
2617 "require-dev" : {
27- "behat/behat" : " ~2.5" ,
28- "wp-cli/wp-cli" : " *"
18+ "wp-cli/entity-command" : " ^1.3" ,
19+ "wp-cli/wp-cli-tests" : " ^0"
20+ },
21+ "config" : {
22+ "sort-packages" : true ,
23+ "process-timeout" : 7200
2924 },
3025 "extra" : {
3126 "branch-alias" : {
4944 " transient set" ,
5045 " transient type"
5146 ]
47+ },
48+ "autoload" : {
49+ "psr-4" : {
50+ "" : " src/"
51+ },
52+ "files" : [
53+ " cache-command.php"
54+ ]
55+ },
56+ "minimum-stability" : " dev" ,
57+ "prefer-stable" : true ,
58+ "scripts" : {
59+ "behat" : " run-behat-tests" ,
60+ "lint" : " run-linter-tests" ,
61+ "phpcs" : " run-phpcs-tests" ,
62+ "phpunit" : " run-php-unit-tests" ,
63+ "prepare-tests" : " install-package-tests" ,
64+ "test" : [
65+ " @lint" ,
66+ " @phpcs" ,
67+ " @phpunit" ,
68+ " @behat"
69+ ]
70+ },
71+ "support" : {
72+ "issues" : " https://github.com/wp-cli/cache-command/issues"
5273 }
5374}
You can’t perform that action at this time.
0 commit comments