File: .travis.yml

package info (click to toggle)
php-doctrine-cache-bundle 1.3.5+git-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 728 kB
  • sloc: php: 2,410; xml: 596; makefile: 23; sh: 11
file content (46 lines) | stat: -rw-r--r-- 1,025 bytes parent folder | download
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
45
46
language: php
sudo: false
dist: trusty

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

services:
    - riak
    - mongodb
    - memcached
    - redis-server

before_script:
    - ./Tests/travis/install-deps.sh
    - composer self-update
    - if [ "$DEPS" = "dev" ]; then perl -pi -e 's/^}$/,"minimum-stability":"dev"}/' composer.json; fi;
    - composer update --prefer-dist

script:
    - ./vendor/bin/phpunit -v --coverage-clover ./build/logs/clover.xml
    - ./vendor/bin/phpcs -np --extensions=php --ignore=vendor/*,Tests/* --standard=ruleset.xml .

after_script:
    - php ./vendor/bin/coveralls -v

matrix:
    exclude:
        - php: 5.3
          dist: trusty
    allow_failures:
        - php: nightly
    include:
        - php: 5.3
          dist: precise
          env: COMPOSER_MEMORY_LIMIT=-1
        - php: 5.4
        - php: 5.5
        - php: 5.6
          env: DEPS="dev" COMPOSER_MEMORY_LIMIT=-1
        - php: 7.0
        - php: 7.1
        - php: 7.2
        - php: 7.3
        - php: nightly