File: .travis.yml

package info (click to toggle)
php-cache-integration-tests 0.16.0-3
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, sid
  • size: 336 kB
  • sloc: php: 1,464; makefile: 10
file content (38 lines) | stat: -rw-r--r-- 711 bytes parent folder | download | duplicates (2)
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
language: php
sudo: false

php:
  - 7.0

env:
  - SUITE=PHPCache
  - SUITE=Symfony
  - SUITE=Stash
  - SUITE=madewithlove

matrix:
  fast_finish: true
  allow_failures:
    - env: SUITE=Stash
    - env: SUITE=madewithlove

services:
  - redis
  - memcached

cache:
  directories:
    - "$HOME/.composer/cache"

before_install:
  - echo "Disable xdebug" && phpenv config-rm xdebug.ini
  - travis_retry composer self-update

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:
  - phpunit --testsuite $SUITE