Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
yii2
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Rotua Panjaitan
yii2
Commits
0a5b1a93
Commit
0a5b1a93
authored
Sep 14, 2013
by
Carsten Brandt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
simplified memcache installation on travis
parent
a1af321d
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
15 deletions
+1
-15
memcache-setup.sh
tests/unit/data/travis/memcache-setup.sh
+1
-15
No files found.
tests/unit/data/travis/memcache-setup.sh
View file @
0a5b1a93
#!/bin/sh
install_memcache
()
{
# if [ "$(expr "$TRAVIS_PHP_VERSION" ">=" "5.5")" -eq 1 ]; then
# MEMCACHE_VERSION="2.2.7"
# wget "http://pecl.php.net/get/memcache-$MEMCACHE_VERSION.tgz" &&
# tar -zxf "memcache-$MEMCACHE_VERSION.tgz" &&
# sh -c "cd memcache-$MEMCACHE_VERSION && phpize && ./configure --enable-memcache && make && sudo make install"
# fi
echo
"extension=memcache.so"
>>
~/.phpenv/versions/
$(
phpenv version-name
)
/etc/php.ini
return
$?
}
install_memcache
>
~/memcache.log
||
(
echo
"=== MEMCACHE BUILD FAILED ==="
;
cat
~/memcache.log
)
echo
"extension=memcache.so"
>>
~/.phpenv/versions/
$(
phpenv version-name
)
/etc/php.ini
echo
"extension=memcached.so"
>>
~/.phpenv/versions/
$(
phpenv version-name
)
/etc/php.ini
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment