travis: fix build
authorMichael Wallner <mike@php.net>
Thu, 7 Sep 2017 12:19:41 +0000 (14:19 +0200)
committerMichael Wallner <mike@php.net>
Thu, 7 Sep 2017 12:19:41 +0000 (14:19 +0200)
.travis.yml
scripts/gen_travis_yml.php

index fceca5cd393678b8f4da4639fd497c07c53dd632..58521eb6d27602a830cc140f64876b25bf71f020 100644 (file)
@@ -19,6 +19,8 @@ env:
   - PHP=master enable_debug=yes enable_psi=yes enable_psi_posix=all
 
 before_script:
   - 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*.[ch]
  - make -f travis/pecl/Makefile php
  - make -f travis/pecl/Makefile ext PECL=psi
 
  - make -f travis/pecl/Makefile php
  - make -f travis/pecl/Makefile ext PECL=psi
 
index 00374f58101762a97a052a4a7746b47be71b6ce7..c97b71704df9972365ffa85b53446238ad54203c 100755 (executable)
@@ -33,6 +33,8 @@ foreach ($env as $e) {
 ?>
 
 before_script:
 ?>
 
 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
 
  - make -f travis/pecl/Makefile php
  - make -f travis/pecl/Makefile ext PECL=psi