aboutsummaryrefslogtreecommitdiffstats
path: root/travis/check-image-icc-profiles.sh
diff options
context:
space:
mode:
Diffstat (limited to 'travis/check-image-icc-profiles.sh')
-rwxr-xr-xtravis/check-image-icc-profiles.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/travis/check-image-icc-profiles.sh b/travis/check-image-icc-profiles.sh
index df13c5f4e2..05c7de2d27 100755
--- a/travis/check-image-icc-profiles.sh
+++ b/travis/check-image-icc-profiles.sh
@@ -12,8 +12,9 @@ set -e
DB=$1
TRAVIS_PHP_VERSION=$2
+NOTESTS=$3
-if [ "$TRAVIS_PHP_VERSION" == "5.3" -a "$DB" == "mysqli" ]
+if [ "$NOTESTS" == '1' ]
then
find . -type f -a -iregex '.*\.\(gif\|jpg\|jpeg\|png\)$' -a -not -wholename '*vendor/*' | \
parallel --gnu --keep-order 'phpBB/develop/strip_icc_profiles.sh {}'