X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-psi;a=blobdiff_plain;f=scripts%2Fgen_travis_yml.php;h=c97b71704df9972365ffa85b53446238ad54203c;hp=7c515d709d9f4246c09efcbb3fb5267e83b53373;hb=ee9d821f6551bc9be158b0f0ebf52432d2691ccf;hpb=9a01d0b6658e90781eb27117e44727dca70b1aa5 diff --git a/scripts/gen_travis_yml.php b/scripts/gen_travis_yml.php index 7c515d7..c97b717 100755 --- a/scripts/gen_travis_yml.php +++ b/scripts/gen_travis_yml.php @@ -9,6 +9,7 @@ addons: packages: - php5-cli - php-pear + - valgrind - re2c - libidn11-dev - libsqlite3-dev @@ -24,7 +25,6 @@ $env = $gen([ #"enable_maintainer_zts", "enable_psi" => ["yes"], "enable_psi_posix" => ["all"], - "LEMON" => ["'\$(PHP_PSI_BUILDDIR)/lemon'"] ]); foreach ($env as $e) { printf(" - %s\n", $e); @@ -33,6 +33,8 @@ foreach ($env as $e) { ?> before_script: + # make sure we do not try to regenerate files with broken bison + - touch src/parser*.[ch] - make -f travis/pecl/Makefile php - make -f travis/pecl/Makefile ext PECL=psi @@ -41,4 +43,13 @@ script: after_failure: - cat config.log | curl -F 'sprunge=<-' http://sprunge.us + - cat tests/parser/dump001.psi - ldd .libs/psi.so + +notifications: + webhooks: + urls: + - https://webhooks.gitter.im/e/30aebb6c0b03f1117817 + on_success: change + on_failure: always + on_start: never