mirror of
https://github.com/ramsey/uuid.git
synced 2026-06-14 15:56:48 +03:00
Run test commands individually on Travis CI
Using Composer's run-script to run all the commands together appears to be encountering a segfault at some point, and it is difficult to debug, since it seems to be intermittent.
This commit is contained in:
+3
-1
@@ -61,7 +61,9 @@ before_script:
|
||||
- mkdir -p build/logs
|
||||
|
||||
script:
|
||||
- travis_wait ./resources/scripts/cmd-proxy.sh composer run-script --timeout=1200 test-ci
|
||||
- ./resources/scripts/cmd-proxy.sh ./vendor/bin/parallel-lint src tests
|
||||
- ./resources/scripts/cmd-proxy.sh ./vendor/bin/phpcs src tests --standard=psr2 -sp --colors
|
||||
- travis_wait ./resources/scripts/cmd-proxy.sh ./vendor/bin/phpunit --verbose --coverage-clover build/logs/clover.xml
|
||||
|
||||
after_success:
|
||||
- travis_retry ./resources/scripts/cmd-proxy.sh ./resources/scripts/php-coveralls.sh
|
||||
|
||||
@@ -76,17 +76,11 @@
|
||||
"lint": "parallel-lint src tests",
|
||||
"phpcs": "phpcs src tests --standard=psr2 -sp --colors",
|
||||
"phpunit": "phpunit --verbose --colors=always",
|
||||
"phpunit-ci": "phpunit --verbose --coverage-clover build/logs/clover.xml",
|
||||
"phpunit-coverage": "phpunit --verbose --colors=always --coverage-html build/coverage",
|
||||
"test": [
|
||||
"@lint",
|
||||
"@phpcs",
|
||||
"@phpunit"
|
||||
],
|
||||
"test-ci": [
|
||||
"@lint",
|
||||
"@phpcs",
|
||||
"@phpunit-ci"
|
||||
]
|
||||
},
|
||||
"support": {
|
||||
|
||||
Reference in New Issue
Block a user