-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
30 lines (25 loc) · 1.02 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
language: php
php:
- 7.0
- 7.1
- 8.0
- 8.1
- 8.2
env:
matrix:
- COMPOSER_FLAGS=""
before_script:
- travis_retry composer self-update
- travis_retry composer update ${COMPOSER_FLAGS} --no-interaction --prefer-source
- chmod 777 -R ./
- chmod 777 -R /home/travis/build/padosoft/laravel-validable/tests
- chmod 777 -R /home/travis/build/padosoft/laravel-validable/tests/Integration
- mkdir /home/travis/build/padosoft/laravel-validable/tests/Integration/resources
- chmod 777 -R /home/travis/build/padosoft/laravel-validable/tests/Integration/resources
- mkdir /home/travis/build/padosoft/laravel-validable/tests/Integration/resources/subdir
- chmod 777 -R /home/travis/build/padosoft/laravel-validable/tests/Integration/resources/subdir
script:
- /home/travis/build/padosoft/laravel-validable/vendor/bin/phpunit --coverage-text --coverage-clover=coverage.clover
after_script:
#- wget https://scrutinizer-ci.com/ocular.phar
#- php vendor/bin/ocular code-coverage:upload --format=php-clover coverage.clover