Skip to content

Commit

Permalink
Provide one true way to run the test suite
Browse files Browse the repository at this point in the history
  • Loading branch information
mfn authored and grogy committed Aug 20, 2020
1 parent 61322f2 commit 5263bbb
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
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!"
}
}

0 comments on commit 5263bbb

Please sign in to comment.