-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #11 from jbboehr/php7
PHP 7 support
- Loading branch information
Showing
18 changed files
with
1,352 additions
and
1,230 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,37 @@ | ||
language: php | ||
|
||
before_install: | ||
- git submodule update --init --recursive | ||
- git clone git://github.com/jbboehr/libmustache.git libmustache | ||
- cd libmustache | ||
- autoreconf -i && ./configure && make && sudo make install | ||
- cd .. | ||
|
||
php: | ||
- 5.3 | ||
- 5.4 | ||
- 5.5 | ||
- 5.6 | ||
- 7.0 | ||
|
||
script: | ||
branches: | ||
only: | ||
- master | ||
- php7 | ||
|
||
sudo: false | ||
|
||
before_install: | ||
- travis_retry git submodule update --init --recursive | ||
- travis_retry git clone git://github.com/jbboehr/libmustache.git libmustache | ||
- cd libmustache | ||
- autoreconf -fiv | ||
- ./configure --prefix=$HOME/libmustache | ||
- make | ||
- make install | ||
- cd .. | ||
|
||
install: | ||
- phpize | ||
- ./configure --enable-mustache | ||
- ./configure --enable-mustache --with-libmustache=$HOME/libmustache | ||
- make | ||
- echo n | make test | ||
|
||
script: | ||
- export NO_INTERACTION=1 | ||
- export REPORT_EXIT_STATUS=1 | ||
- export TEST_PHP_EXECUTABLE=`which php` | ||
- php run-tests.php -d extension=mustache.so -d extension_dir=modules -n ./tests/*.phpt | ||
- for i in `ls tests/*.out 2>/dev/null`; do echo "-- START ${i}"; cat $i; echo "-- END"; done |
Oops, something went wrong.