Blame view

vendor/myclabs/deep-copy/.travis.yml 762 Bytes
c4650843   Etienne Pallier   Ajout du dossier ...
1
2
3
4
language: php

sudo: false

c4650843   Etienne Pallier   Ajout du dossier ...
5
php:
d06254b2   Etienne Pallier   bugfix plugin mig...
6
7
  - '5.6'
  - '7.0'
c4650843   Etienne Pallier   Ajout du dossier ...
8
  - '7.1'
c4650843   Etienne Pallier   Ajout du dossier ...
9
10
11
12
13
  - nightly

matrix:
  fast_finish: true
  include:
d06254b2   Etienne Pallier   bugfix plugin mig...
14
    - php: '5.6'
c4650843   Etienne Pallier   Ajout du dossier ...
15
16
17
18
19
20
21
22
      env: COMPOSER_FLAGS="--prefer-lowest"
  allow_failures:
    - php: nightly

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

d06254b2   Etienne Pallier   bugfix plugin mig...
23
24
25
26
27
28
before_install:
  - |
    if [ "$TRAVIS_PHP_VERSION" = "nightly" ]; then
      COMPOSER_FLAGS="$COMPOSER_FLAGS --ignore-platform-reqs"
    fi;

c4650843   Etienne Pallier   Ajout du dossier ...
29
30
31
32
33
34
35
36
37
38
39
40
install:
  - composer update --no-interaction --no-progress --no-suggest --prefer-dist $COMPOSER_FLAGS
  - wget https://github.com/satooshi/php-coveralls/releases/download/v1.0.0/coveralls.phar

before_script:
  - mkdir -p build/logs

script:
  - vendor/bin/phpunit --coverage-clover build/logs/clover.xml

after_script:
  - php coveralls.phar -v