Skip to content

Commit a21dae6

Browse files
committed
Trying to fix travis build with hhvm
1 parent 3a083c7 commit a21dae6

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.travis.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,13 @@ language: php
1515
services:
1616
- memcached
1717
# - redis-server
18-
before_script: phpenv config-add var/php/conf/phpfastcache.ini
18+
before_script:
19+
- |
20+
if [[ $TRAVIS_PHP_VERSION = "hhv"* ]]; then
21+
cat var/php/conf/phpfastcache.ini >> /etc/hhvm/php.ini
22+
else
23+
phpenv config-add var/php/conf/phpfastcache.ini
24+
fi
1925
2026
php:
2127
# - 5.3

0 commit comments

Comments
 (0)