X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;ds=sidebyside;f=.travis.yml;h=0a07fde4d106e9b56a5c10e28730542f0350f032;hb=9e830b9e07505e11544cc3f9e15b404211b6d59f;hp=5b40aab4c233074847c58452ef3d58fdba5dfa21;hpb=96e1190e56b85694eca38181e449fd21be43b0a4;p=m6w6%2Fext-psi diff --git a/.travis.yml b/.travis.yml index 5b40aab..0a07fde 100644 --- a/.travis.yml +++ b/.travis.yml @@ -8,16 +8,28 @@ addons: packages: - php5-cli - php-pear + - valgrind + - gdb + - apport - re2c - libidn11-dev - libsqlite3-dev env: matrix: - - PHP=master enable_debug=no enable_psi=yes enable_psi_posix=all LEMON='\$(PHP_PSI_BUILDDIR)/lemon' - - PHP=master enable_debug=yes enable_psi=yes enable_psi_posix=all LEMON='\$(PHP_PSI_BUILDDIR)/lemon' + - PHP=master enable_debug=no enable_psi=yes enable_psi_posix=all + - PHP=master enable_debug=yes enable_psi=yes enable_psi_posix=all before_script: + # make sure we do not try to regenerate files with broken bison + - touch src/parser_proc_grammar.y + - touch src/parser_proc.c + - touch src/parser_proc.h + - touch src/parser.re + - touch src/parser.c + - touch src/parser.h + - stat src/parser* + - ulimit -c unlimited -S - make -f travis/pecl/Makefile php - make -f travis/pecl/Makefile ext PECL=psi @@ -26,4 +38,12 @@ script: after_failure: - cat config.log | curl -F 'sprunge=<-' http://sprunge.us - - ldd .libs/psi.so + - test -f core* && gdb -q -ex bt --batch $HOME/job-$TRAVIS_JOB_NUMBER/bin/php core* + +notifications: + webhooks: + urls: + - https://webhooks.gitter.im/e/30aebb6c0b03f1117817 + on_success: change + on_failure: always + on_start: never