From 579fb9489fcc84c5e460b13e3022812aff25954d Mon Sep 17 00:00:00 2001 From: Michael Wallner Date: Wed, 18 Jul 2018 13:23:18 +0200 Subject: [PATCH] travis: clean on build failure --- .travis.yml | 2 +- scripts/gen_travis_yml.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 -- 2.30.2