-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
31 lines (26 loc) · 975 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
sudo: false
# Required to run your project under the correct environment.
language: php
# Versions of PHP you want your project run with.
php:
- 5.6
- 7
# Commands to be run before your environment runs.
before_script:
#- phpenv config-rm xdebug.ini
- composer self-update
- composer install --prefer-source --no-interaction
- wget https://scrutinizer-ci.com/ocular.phar
# Commands you want to run that will verify your build.
script: ./vendor/bin/phpunit tests -c ./tests/configuration.xml --coverage-clover ./tests/logs/clover.xml
after_script:
- php vendor/bin/coveralls -v
- php ocular.phar code-coverage:upload --format=php-clover ./tests/logs/clover.xml
# allow_failures: Allow this build to fail under the specified environments.
# fast_finish: If your build fails do not continue trying to build, just stop.
matrix:
fast_finish: true
# Customize when the notification emails are sent.
notifications:
on_success: never
on_failure: always