Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
In preparation for adding some cache warming background tasks.
- Loading branch information
Showing
3 changed files
with
49 additions
and
15 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 |
---|---|---|
@@ -0,0 +1 @@ | ||
extension=memcached.so |
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,15 +1,21 @@ | ||
language: php | ||
|
||
php: | ||
- 5.6 | ||
- 5.5 | ||
- 5.4 | ||
- hhvm | ||
|
||
services: | ||
- memcached | ||
|
||
before_script: | ||
- "make vendor" | ||
- "export PHP_INI=~/.phpenv/versions/$(phpenv version-name)/etc/php.ini" | ||
- "if [ \"$TRAVIS_PHP_VERSION\" == \"5.4\" ]; then echo \"extension=apc.so\" >> ${PHP_INI}; fi" | ||
- "if [ \"$TRAVIS_PHP_VERSION\" == \"5.5\" ]; then printf \"\\n\" | pecl install apcu-beta; fi" | ||
- "if [ \"$TRAVIS_PHP_VERSION\" == \"5.6\" ]; then printf \"\\n\" | pecl install apcu-beta; fi" | ||
- "if [ \"$TRAVIS_PHP_VERSION\" != \"hhvm\" ]; then echo \"apc.enable_cli = 1\" >> ${PHP_INI}; fi" | ||
- "if [ \"$TRAVIS_PHP_VERSION\" != \"hhvm\" ]; then phpenv config-add .travis.php.ini; fi" | ||
- "make travis-env" | ||
|
||
script: make | ||
|
||
cache: | ||
directories: | ||
- vendor |
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