Skip to content

Commit 4972f9f

Browse files
authored
[TASK] Use xargs instead of parallel in travis-ci
Prevent installing an additional package for the small amount of PHP files in travis-ci to speed up build a bit.
1 parent 9aeae5b commit 4972f9f

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

.travis.yml

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,6 @@ matrix:
1313

1414
sudo: false
1515

16-
addons:
17-
apt:
18-
packages:
19-
- parallel
20-
2116
cache:
2217
directories:
2318
- $HOME/.composer/cache
@@ -39,4 +34,4 @@ script:
3934
- >
4035
echo;
4136
echo "Running php lint";
42-
find . -name \*.php ! -path "./vendor/*" | parallel --gnu php -d display_errors=stderr -l {} > /dev/null \;
37+
find . -name \*.php ! -path "./vendor/*" | xargs -n1 php -d display_errors=stderr -l

0 commit comments

Comments
 (0)