Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Provide one true way to run the test suite #37

Merged
merged 1 commit into from
Aug 20, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ install:
- composer install --no-interaction --prefer-source

script:
- ./vendor/bin/tester -p php tests
- composer test
- ./parallel-lint --exclude vendor --exclude tests/examples --no-colors .
- ./parallel-lint --exclude vendor --exclude tests/examples .
- if [[ "$SNIFF" == "1" ]]; then ./vendor/bin/phpcs;fi
2 changes: 1 addition & 1 deletion appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,6 @@ install:
- php composer.phar install --prefer-source --no-interaction

test_script:
- vendor\bin\tester tests -p php
- php composer.phar test
- php parallel-lint --exclude vendor --exclude tests\examples --no-colors .
- php parallel-lint --exclude vendor --exclude tests\examples .
8 changes: 7 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,5 +35,11 @@
},
"bin": [
"parallel-lint"
]
],
"scripts": {
"test": "@php vendor/bin/tester -p php tests"
},
"scripts-descriptions": {
"test": "Run all tests!"
}
mfn marked this conversation as resolved.
Show resolved Hide resolved
}