X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;ds=sidebyside;f=scripts%2Fgen_travis_yml.php;h=7c515d709d9f4246c09efcbb3fb5267e83b53373;hb=ca57acfe349e402c1ad9c85ab5f1d51513e8dc4f;hp=1037ea5e328aa5c686f020914d3fd5de1281342b;hpb=6b2e6562e64a263a42910d28e23b6ca94f3ecb65;p=m6w6%2Fext-psi diff --git a/scripts/gen_travis_yml.php b/scripts/gen_travis_yml.php index 1037ea5..7c515d7 100755 --- a/scripts/gen_travis_yml.php +++ b/scripts/gen_travis_yml.php @@ -1,13 +1,17 @@ #!/usr/bin/env php # autogenerated file; do not edit language: c -sudo: false +sudo: required +dist: trusty addons: apt: packages: - php5-cli - php-pear + - re2c + - libidn11-dev + - libsqlite3-dev env: matrix: @@ -15,11 +19,12 @@ env: $gen = include __DIR__."/../travis/pecl/gen-matrix.php"; $env = $gen([ - "PHP" => ["7.0", "master"], + "PHP" => ["master"], "enable_debug", #"enable_maintainer_zts", "enable_psi" => ["yes"], - "enable_psi_posix" => ["all"] + "enable_psi_posix" => ["all"], + "LEMON" => ["'\$(PHP_PSI_BUILDDIR)/lemon'"] ]); foreach ($env as $e) { printf(" - %s\n", $e); @@ -34,3 +39,6 @@ before_script: script: - make -f travis/pecl/Makefile test +after_failure: + - cat config.log | curl -F 'sprunge=<-' http://sprunge.us + - ldd .libs/psi.so