Skip to content

Commit 4c30308

Browse files
authored
Merge pull request #2 from kidunot89/feature/#51-travis-calls-wrong-install-command
composer.json updated
2 parents 4def31c + 1e7fd0f commit 4c30308

File tree

4 files changed

+15
-2
lines changed

4 files changed

+15
-2
lines changed

.coveralls.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
service_name: travis-ci
2+
coverage_clover: tests/_output/coverage.xml
3+
json_path: tests/_output/coverage.json

.travis.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,8 @@ matrix:
3535
env: WP_VERSION=latest
3636
- php: 5.6
3737
env: WP_TRAVISCI=phpcs
38+
allow_failures:
39+
- env: WP_TRAVISCI=phpcs
3840

3941
install:
4042
- |

composer.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,13 @@
1010
"email": "[email protected]"
1111
}
1212
],
13+
"scripts": {
14+
"install-wp-tests": "bash bin/install-wp-tests.sh",
15+
"test": "vendor/bin/codecept run",
16+
"functional-test": "vendor/bin/codecept run functional",
17+
"acceptance-test": "vendor/bin/codecept run acceptance",
18+
"wpunit-test": "vendor/bin/codecept run wpunit"
19+
},
1320
"require": {
1421
"firebase/php-jwt": "^4.0"
1522
},

phpcs.ruleset.xml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
<rule ref="WordPress-Core" />
66
<rule ref="WordPress-Docs" />
77

8-
<exclude-pattern>*/node_modules/*</exclude-pattern>
9-
<exclude-pattern>*/vendor/*</exclude-pattern>
8+
<exclude-pattern>/vendor/</exclude-pattern>
9+
<exclude-pattern>/node_modules/</exclude-pattern>
10+
<exclude-pattern>/tests/</exclude-pattern>
1011
</ruleset>

0 commit comments

Comments
 (0)