travis: fix build
[m6w6/ext-psi] / scripts / gen_travis_yml.php
index 4c21d6afb1b04bc246f84fcf86bb34eba9ebc8a1..c97b71704df9972365ffa85b53446238ad54203c 100755 (executable)
@@ -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
 
@@ -43,3 +45,11 @@ 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