travis: upload psi dump
[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_posix=all
21 - PHP=master enable_debug=yes enable_psi=yes enable_psi_posix=all
22
23 before_install:
24 # make sure we do not try to regenerate files with broken bison or old re2c
25 - touch src/parser_proc_grammar.y
26 - touch src/parser_proc.c
27 - touch src/parser_proc.h
28 - touch src/parser.re
29 - touch src/parser.c
30 - touch src/parser.h
31
32 install:
33 - make -f travis/pecl/Makefile php
34
35 before_script:
36 - ulimit -c unlimited -S
37 - export TEST_PHP_ARGS="--no-clean"
38
39 script:
40 - make -f travis/pecl/Makefile ext PECL=psi
41 - make -f travis/pecl/Makefile test
42
43 after_failure:
44 - cat config.log | curl -F 'sprunge=<-' http://sprunge.us
45 - cat tests/parser/dump001.psi | curl -F 'sprunge=<-' http://sprunge.us
46 - test -f core* && gdb -q -ex bt --batch $HOME/job-$TRAVIS_JOB_NUMBER/bin/php core*
47
48 notifications:
49 webhooks:
50 urls:
51 - https://webhooks.gitter.im/e/30aebb6c0b03f1117817
52 on_success: change
53 on_failure: always
54 on_start: never