#!/bin/sh
# Note to self: Travis project root is /home/travis/build/<repo>
# e.g. /home/travis/build/webignition/simplytestable-travis-integration
# Install required PHP extensions
pwd
cd /home/travis
pwd
php -v
#which php
#php -v

# Install memcache extension and verify installation
#sudo apt-get update
#sudo apt-get install php5-dev
#wget http://pecl.php.net/get/memcache-2.2.7.tgz
#tar -zxf memcache-2.2.7.tgz
#sh -c "cd memcache-2.2.7 && phpize && ./configure && make --quiet && sudo make --quiet install"
#echo "extension=memcache.so" >> `php --ini | grep "Loaded Configuration" | sed -e "s/.*:\s*//"`  
#php -r 'new \Memcache;'
#which php

#!/bin/sh
# Note to self: Travis project root is /home/travis/build/<repo>
# e.g. /home/travis/build/webignition/simplytestable-travis-integration
# Install required PHP extensions
/home/travis/.phpenv/shims/php -v

# Install memcache extension and verify installation
#sudo apt-get update
#sudo apt-get install php5-dev
#wget http://pecl.php.net/get/memcache-2.2.7.tgz
#tar -zxf memcache-2.2.7.tgz
#sh -c "cd memcache-2.2.7 && phpize && ./configure && make --quiet && sudo make --quiet install"
#echo "extension=memcache.so" >> `php --ini | grep "Loaded Configuration" | sed -e "s/.*:\s*//"`  
#php -r 'new \Memcache;'
#which php

Call PHP with full path
Call PHP with full path
