diff --git a/.travis.yml b/.travis.yml index b48927b4ea..bdcc354641 100644 --- a/.travis.yml +++ b/.travis.yml @@ -51,7 +51,7 @@ script: - travis/check-sami-parse-errors.sh $DB $TRAVIS_PHP_VERSION $NOTESTS - travis/check-image-icc-profiles.sh $DB $TRAVIS_PHP_VERSION $NOTESTS - travis/check-executable-files.sh $DB $TRAVIS_PHP_VERSION $NOTESTS ./ - - travis/check-stylesheet.sh $DB $TRAVIS_PHP_VERSION $NOTESTS + - travis/check-stylesheet.sh $NOTESTS - sh -c "if [ '$SLOWTESTS' != '1' -a '$DB' = 'mysqli' ]; then phpBB/vendor/bin/phpunit tests/lint_test.php; fi" - sh -c "if [ '$NOTESTS' != '1' -a '$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" diff --git a/travis/check-stylesheet.sh b/travis/check-stylesheet.sh index e8d35da116..ce5ad87f79 100755 --- a/travis/check-stylesheet.sh +++ b/travis/check-stylesheet.sh @@ -11,9 +11,7 @@ set -e set +x -DB=$1 -TRAVIS_PHP_VERSION=$2 -NOTESTS=$3 +NOTESTS=$1 if [ "$NOTESTS" == '1' ] then