-
Notifications
You must be signed in to change notification settings - Fork 2
/
.travis.yml
37 lines (29 loc) · 1.5 KB
/
.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
language: php
sudo: false
matrix:
include:
- php: 7.2
# - php: 7.2
# env: COMPOSER_FLAGS='--prefer-lowest --prefer-stable'
- php: 7.3
# - php: 7.3
# env: COMPOSER_FLAGS='--prefer-lowest --prefer-stable'
- php: nightly
allow_failures:
- php: nightly
fast_finish: true
cache:
directories:
- $HOME/.composer/cache/files
before_install:
- travis_retry composer self-update && composer --version
install:
- travis_retry composer update $COMPOSER_FLAGS -n
script:
- ./vendor/bin/phpunit --verbose --coverage-text --coverage-clover=coverage.clover
after_script:
- sh -c 'if [ "$TRAVIS_PHP_VERSION" != "hhvm" ]; then wget https://scrutinizer-ci.com/ocular.phar && php ocular.phar code-coverage:upload --format=php-clover coverage.clover; fi;'
notifications:
email: false
slack:
secure: OUvKvmWpD2OziO7LCa0Jzx36QzLxKuaiaUDmvqNyvERnU8jySsKSCs67JBEyAXStBTJCFRnQziAaY82JLKGeDvFLvrg3X4lhKeGhRTFvo0lB3XBn9mCLaHTuQbITpmoEM6ME0usgsKUaZgaiVHIKp0hIvx3/B+8nQFAAXOss3nDcCP3C7f76ffImEWAg98kK61USAGINhFwy5R05IgaPHUXSX2yiTIOQqBRI6pIqv4ADqpwMU+SfIJhbZWyBwxxY/eMIk91L5yNFIpAFfESbGhlJkbeAG1ztzPwnIvmIWfljWQE4PNPiVXquCJtxvTFrDIu9/RJ9PMD7DpzuzxfrdrzpLRZdsWLQHU5VPdWtVh25cJ37AIrKFQsi0vdnqodSZTWNgR9kcHmKGq3UUSvDQT2iTzFQJzcH6xj/Sx2R6DTznLeOsoyzH2STIiL5LSqlg6ZENi8gHXJ1X9UmGn9+2AMZAx64+i80syNfEUoVSQV40w09bV/z3u7U+DNIE7OL5CIFH20PoTK+ad+v7UW7yx/qw86b9f0PCu9jWBW8941cy1uiCRmTwaDtvfGGvsORK0NePxysYPeda5cW9wIPGY8z2XYCF4C1wORj9m9D+A9nbD39Jy8p80fiPohtMRhqg9q4EtsXdztZigHDewkqo51zvrCPQ6hpRAbKJSoq4Go=