#pragma lib
[m6w6/ext-psi] / .travis.yml
1 # autogenerated file; do not edit
2 language: c
3 sudo: required
4 dist: trusty
5
6 addons:
7 apt:
8 packages:
9 - php5-cli
10 - php-pear
11 - valgrind
12 - gdb
13 - apport
14 - re2c
15 - libidn11-dev
16 - libsqlite3-dev
17
18 env:
19 matrix:
20 - PHP=master enable_debug=no enable_psi=yes enable_psi_threaded_parser=no
21 - PHP=master enable_debug=yes enable_psi=yes enable_psi_threaded_parser=no
22 - PHP=master enable_debug=no enable_psi=yes enable_psi_threaded_parser=yes
23 - PHP=master enable_debug=yes enable_psi=yes enable_psi_threaded_parser=yes
24
25 before_install:
26 # make sure we do not try to regenerate files with broken bison or old re2c
27 - touch src/parser_proc_grammar.y
28 - touch src/parser_proc.c
29 - touch src/parser_proc.h
30 - touch src/parser_scan.re
31 - touch src/parser_scan.c
32 - touch src/parser.h
33
34 install:
35 - make -f travis/pecl/Makefile php
36
37 before_script:
38 - ulimit -c unlimited -S
39 - export TEST_PHP_ARGS="--no-clean"
40
41 script:
42 - make -f travis/pecl/Makefile ext PECL=psi
43 - make -f travis/pecl/Makefile test
44
45 after_failure:
46 - cat config.log | curl -F 'sprunge=<-' http://sprunge.us
47 - cat tests/parser/dump001.psi | curl -F 'sprunge=<-' http://sprunge.us
48 - test -f core* && gdb -q -ex bt --batch $HOME/job-$TRAVIS_JOB_NUMBER/bin/php core*
49
50 notifications:
51 webhooks:
52 urls:
53 - https://webhooks.gitter.im/e/30aebb6c0b03f1117817
54 on_success: change
55 on_failure: always
56 on_start: never