Created
August 18, 2013 13:00
-
-
Save whatthejeff/6261532 to your computer and use it in GitHub Desktop.
.travis.yaml for PHP extensions
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
language: php | |
php: | |
- 5.3 | |
- 5.4 | |
- 5.5 | |
before_script: | |
- phpize | |
- ./configure --enable-EXTENSION_NAME | |
- make | |
- sed -i -e 's/save_or_mail_results();//g' -e 's/\($failed_test_data\['\''test_name'\''\] . $failed_test_data\['\''info'\''\]\)/str_repeat('\''='\'', 80) . "\\n" . \1 . "\\n" . str_repeat('\''='\'', 80) . "\\n" . file_get_contents(realpath($failed_test_data['\''output'\'']), FILE_BINARY) . "\\n" . str_repeat('\''='\'', 80) . "\\n" . file_get_contents(realpath($failed_test_data['\''diff'\'']), FILE_BINARY)/g' run-tests.php | |
- sed -i -e 's/-\(@if test ! -z\)/\1/' -e 's/rm $(top_builddir)\/tmp-php.ini;//' Makefile | |
script: REPORT_EXIT_STATUS=1 make test |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
To disable Xdebug, change:
to: