forked from stormpath/stormpath-sdk-php
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
25 lines (19 loc) · 821 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
language: php
php:
- 5.5
- 5.4
- 5.3
sudo: false
env:
global:
- secure: VyVDCEAexHfV/k4FEToKsVoC23FxT9ngf1UuOnp9ddfr52uHppDnUeHKJ0AMAPsKyPvYCaCHC0+JSOIx2vK2/pZCWkCk12KQ8d4ytPuiNCmnLKn1sOJBn/rcXznE41/DbYA3344dv3wE+W4j4bxD3rJw5NI7NiypnyCp9S6Z6qo=
- secure: JenTQgFLF8ZgyRvk7y/v2brrJTwEemTcrzG9Brej6U+2mQCthSQIUgYcTsRKKf/VN3nxPK4soPGcx1Y726fLsGPiDR4zyGDEKbFLyz7lFR3N8mybIcaWZOWOx77hmXxzi/XW+UDThSuuRQuWRHubRCpBFB4KaW4dgAq7G7QlYng=
services:
- redis-server
- memcached
before_script:
- travis_retry composer install --prefer-dist --no-interaction
- mkdir -p ~/.phpenv/versions/$(phpenv version-name)/etc
- echo "extension = memcached.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini
- echo "extension = redis.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini
script: vendor/bin/phpunit