-
Notifications
You must be signed in to change notification settings - Fork 2
/
.travis.yml
49 lines (41 loc) · 1.13 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
38
39
40
41
42
43
44
45
46
47
48
49
language: php
php:
- '7.4'
git:
depth: 1
install:
# Install composer packages, will also trigger dump-autoload
- travis_retry composer install --no-interaction
script:
- ./vendor/bin/phpunit
after_success:
#
# Codecove
#
# Submit coverage report to codecov.io
- bash <(curl -s https://codecov.io/bash)
#
# Coveralls
#
# Submit coverage report to Coveralls servers, see .coveralls.yml
- travis_retry composer require --dev php-coveralls/php-coveralls --no-interaction
- travis_retry php vendor/bin/php-coveralls -v
- travis_retry composer remove --dev php-coveralls/php-coveralls --no-interaction
#
# Code Cliemet
#
- travis_retry composer require --dev codeclimate/php-test-reporter --no-interaction
- travis_retry vendor/bin/test-reporter
- travis_retry composer remove --dev codeclimate/php-test-reporter --no-interaction
notifications:
email:
recipients:
on_success: never
on_failure: always
branches:
only:
- master
- develop