Skip to content

Commit 2d9047e

Browse files
committed
Merge pull request googleapis#599 from localheinz/fix/install
Fix: Install dependencies in install section on Travis
2 parents 666dcfe + dc83eb4 commit 2d9047e

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.travis.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ services:
55

66
env:
77
global:
8-
- MEMCACHE_HOST=127.0.0.1
8+
- MEMCACHE_HOST=127.0.0.1
99
- MEMCACHE_PORT=11211
1010

1111
sudo: false
@@ -19,8 +19,10 @@ php:
1919
- 5.6
2020
- hhvm
2121

22-
before_script:
22+
install:
2323
- composer install
24+
25+
before_script:
2426
- sh -c 'if [ "$TRAVIS_PHP_VERSION" != "hhvm" ]; then echo "extension=memcache.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini; fi;'
2527
- sh -c 'if [ "$TRAVIS_PHP_VERSION" != "hhvm" ]; then echo "extension=memcached.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini; fi;'
2628
- phpenv version-name | grep ^5.[34] && echo "extension=apc.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini ; true

0 commit comments

Comments
 (0)