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:
Ben Ramsey
2019-12-06 14:58:45 -08:00
parent 231027100a
commit 6f970cbd08
2 changed files with 3 additions and 7 deletions
+3 -1
View File
@@ -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
-6
View File
@@ -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": {