#!/usr/bin/env php
# autogenerated file; do not edit
language: c
-sudo: required
+sudo: false
dist: trusty
addons:
- gcc
- clang
+cache:
+ directories:
+ - $HOME/cache
+before_cache:
+ - find $HOME/cache -name '*.gcda' -o -name '*.gcno' -delete
+
env:
<?php
?>
-before_script:
- - ./travis/brotli.sh
+install:
+ - ./travis/brotli.sh v1.0.2
- make -f travis/pecl/Makefile php
- make -f travis/pecl/Makefile pecl PECL=ext-raphf.git:raphf:master
- make -f travis/pecl/Makefile pecl PECL=ext-propro.git:propro:master
- - make -f travis/pecl/Makefile ext PECL=http
script:
+ - make -f travis/pecl/Makefile ext PECL=http
- make -f travis/pecl/Makefile test
- - make -f travis/pecl/Makefile cppcheck CPPCHECK_EXITCODE=0
+after_script:
+ - make -f travis/pecl/Makefile cppcheck
after_failure:
- test -e tests/helper/server.log && cat tests/helper/server.log
after_success: