mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-08 04:18:52 +00:00
[ticket/13809] Perform the lint test prior to normal tests
PHPBB3-13809
This commit is contained in:
parent
f42a737419
commit
b73b9f1dec
2 changed files with 1 additions and 3 deletions
|
@ -46,6 +46,7 @@ script:
|
||||||
- travis/check-sami-parse-errors.sh $DB $TRAVIS_PHP_VERSION
|
- travis/check-sami-parse-errors.sh $DB $TRAVIS_PHP_VERSION
|
||||||
- travis/check-image-icc-profiles.sh $DB $TRAVIS_PHP_VERSION
|
- travis/check-image-icc-profiles.sh $DB $TRAVIS_PHP_VERSION
|
||||||
- travis/check-executable-files.sh $DB $TRAVIS_PHP_VERSION ./
|
- travis/check-executable-files.sh $DB $TRAVIS_PHP_VERSION ./
|
||||||
|
- sh -c "if [ '$SLOWTESTS' != '1' -a '$DB' = 'mysqli' ]; then phpBB/vendor/bin/phpunit tests/lint_test.php; fi"
|
||||||
- sh -c "if [ '$SLOWTESTS' != '1' ]; then phpBB/vendor/bin/phpunit --configuration travis/phpunit-$DB-travis.xml; fi"
|
- sh -c "if [ '$SLOWTESTS' != '1' ]; then phpBB/vendor/bin/phpunit --configuration travis/phpunit-$DB-travis.xml; fi"
|
||||||
- sh -c "if [ '$SLOWTESTS' = '1' ]; then phpBB/vendor/bin/phpunit --configuration travis/phpunit-$DB-travis.xml --group slow; fi"
|
- sh -c "if [ '$SLOWTESTS' = '1' ]; then phpBB/vendor/bin/phpunit --configuration travis/phpunit-$DB-travis.xml --group slow; fi"
|
||||||
- sh -c "if [ '$TRAVIS_PHP_VERSION' = '5.3.3' -a '$DB' = 'mysqli' -a '$TRAVIS_PULL_REQUEST' != 'false' ]; then git-tools/commit-msg-hook-range.sh origin/$TRAVIS_BRANCH..FETCH_HEAD; fi"
|
- sh -c "if [ '$TRAVIS_PHP_VERSION' = '5.3.3' -a '$DB' = 'mysqli' -a '$TRAVIS_PULL_REQUEST' != 'false' ]; then git-tools/commit-msg-hook-range.sh origin/$TRAVIS_BRANCH..FETCH_HEAD; fi"
|
||||||
|
|
|
@ -18,9 +18,6 @@
|
||||||
<exclude>../tests/lint_test.php</exclude>
|
<exclude>../tests/lint_test.php</exclude>
|
||||||
<exclude>../tests/ui</exclude>
|
<exclude>../tests/ui</exclude>
|
||||||
</testsuite>
|
</testsuite>
|
||||||
<testsuite name="phpBB Lint Test">
|
|
||||||
<file>../tests/lint_test.php</file>
|
|
||||||
</testsuite>
|
|
||||||
<testsuite name="phpBB Functional Tests">
|
<testsuite name="phpBB Functional Tests">
|
||||||
<directory suffix="_test.php" phpVersion="5.3.19" phpVersionOperator=">=">../tests/functional</directory>
|
<directory suffix="_test.php" phpVersion="5.3.19" phpVersionOperator=">=">../tests/functional</directory>
|
||||||
</testsuite>
|
</testsuite>
|
||||||
|
|
Loading…
Add table
Reference in a new issue