We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9c78d31 commit 4931ba0Copy full SHA for 4931ba0
.travis.yml
@@ -24,8 +24,25 @@ php:
24
jobs:
25
fast_finish: true
26
27
+cache:
28
+ directories:
29
+ - "${HOME}/.phpenv/"
30
+
31
before_install:
- - "phpenv config-rm xdebug.ini"
32
+ - |
33
+ # Using PHP ZTS
34
+ PHP_VERSION="$(php -r 'echo PHP_VERSION;')"
35
+ if ! [ -f "${HOME}/.phpenv/php-zts-built" ]; then
36
+ echo "Building PHP ZTS ${PHP_VERSION} ..."
37
+ git clone git://github.com/php-build/php-build.git "${HOME}/.phpenv/plugins/php-build"
38
+ phpenv install --verbose --force "${PHP_VERSION}"
39
+ rm -rf "${HOME}/.phpenv/plugins/php-build"
40
+ touch "${HOME}/.phpenv/php-zts-built"
41
+ fi
42
+ phpenv rehash
43
+ phpenv global "${PHP_VERSION}"
44
+ phpenv config-rm xdebug.ini
45
+ php -v
46
47
install:
48
- "phpize"
0 commit comments