forked from soundways/Iso7064-php
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
33 lines (26 loc) · 926 Bytes
/
.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
#Travis CI Configuration File
# Required to run your project under the correct enviroment
language: php
# Versions of PHP you want your project to run with
php:
- 7.2
# Installations
install:
- travis_retry composer self-update
- travis_retry composer install --no-interaction --no-suggest
- composer install
# Commands you want to run that will verify your build
script:
# Test and generate Code Coverage report
- phpunit --testdox --coverage-html coverage --whitelist src --bootstrap vendor/autoload.php tests
- vendor/bin/phpunit --coverage-clover=coverage.xml
# after_script:
after_success:
# Submit coverage report to https://codecov.io
- bash <(curl -s https://codecov.io/bash)
# allow_failures: Allow this build to fail under the specified environments
# fast_finished: If your build fails, then do not continue tryong and just stop
matrix:
allow_failures:
- php: 7.2
fast_finished: true