-before_script:
- - ./travis/brotli.sh
- - make -f travis/pecl/Makefile php
- - make -f travis/pecl/Makefile pecl PECL=ext-raphf.git:raphf:master
- - make -f travis/pecl/Makefile pecl PECL=ext-propro.git:propro:master
- - make -f travis/pecl/Makefile ext PECL=http
+install:
+ - |
+ if test "$PHP" = master; then \
+ make -f travis/pecl/Makefile reconf; \
+ make -f travis/pecl/Makefile pecl-rm pecl-clean PECL=m6w6/ext-raphf.git:raphf:master; \
+ fi
+ - make -f travis/pecl/Makefile php || make -f travis/pecl/Makefile clean php
+ - make -f travis/pecl/Makefile pecl PECL=m6w6/ext-raphf.git:raphf:master
+ - |
+ if test -n "$PECLs"; then \
+ IFS=$','; \
+ for pecl in $PECLs; do \
+ make -f travis/pecl/Makefile pecl PECL=$pecl; \
+ done; \
+ unset IFS; \
+ fi