forked from php-cache/integration-tests
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
45 lines (37 loc) · 881 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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
dist: trusty
language: php
sudo: true
env:
global:
- SYMFONY_PHPUNIT_VERSION=5.7
matrix:
fast_finish: true
include:
- php: 7.0
env: SUITE=PHPCache
- php: 7.0
env: SUITE=Symfony
- php: 7.0
env: SUITE=Laravel
- php: 7.0
env: SUITE=Stash
- php: 7.1
env: SUITE=PHPCache
- php: 7.2
env: SUITE=PHPCache
allow_failures:
- env: SUITE=Stash
services:
- redis
- memcached
cache:
directories:
- "$HOME/.composer/cache"
before_install:
- echo "Disable xdebug" && phpenv config-rm xdebug.ini
install:
- echo "extension = memcached.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/conf.d/travis.ini
- echo "extension = redis.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/conf.d/travis.ini
- composer update --prefer-source
script:
- ./vendor/bin/simple-phpunit --testsuite $SUITE