From: Michael Wallner Date: Wed, 18 Jul 2018 11:23:18 +0000 (+0200) Subject: travis: clean on build failure X-Git-Tag: RELEASE_3_2_0~2 X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-http;a=commitdiff_plain;h=579fb9489fcc84c5e460b13e3022812aff25954d travis: clean on build failure --- diff --git a/.travis.yml b/.travis.yml index 41dc98a..fc0bb7f 100644 --- a/.travis.yml +++ b/.travis.yml @@ -41,7 +41,7 @@ env: install: - ./travis/brotli.sh v1.0.2 - if test "$PHP" = master; then make -f travis/pecl/Makefile reconf; fi - - make -f travis/pecl/Makefile php + - make -f travis/pecl/Makefile php || make -f travis/pecl/Makefile clean 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 diff --git a/scripts/gen_travis_yml.php b/scripts/gen_travis_yml.php index 68f9b86..bd62c6d 100755 --- a/scripts/gen_travis_yml.php +++ b/scripts/gen_travis_yml.php @@ -82,7 +82,7 @@ foreach ($env as $grp) { install: - ./travis/brotli.sh v1.0.2 - if test "$PHP" = master; then make -f travis/pecl/Makefile reconf; fi - - make -f travis/pecl/Makefile php + - make -f travis/pecl/Makefile php || make -f travis/pecl/Makefile clean 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