forked from Austinb/GameQ
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
29 lines (23 loc) · 798 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
language: php
php:
- 5.4.45
- 5.5.38
- 5.6.31
- 7.0.24
- 7.1.9
matrix:
allow_failures:
before_script:
- travis_retry composer self-update
- travis_retry composer install --no-interaction --prefer-source
script:
- mkdir -p build/logs
- vendor/bin/phpcs src tests --extensions=php --ignore=bootstrap --report=checkstyle --report-file=build/logs/checkstyle.xml --standard=build/config/phpcs.xml -v
- vendor/bin/phpmd src,tests xml build/config/phpmd.xml --reportfile build/logs/pmd.xml
- vendor/bin/phpunit -c phpunit.xml --verbose
after_script:
- php vendor/bin/coveralls -v
- wget https://scrutinizer-ci.com/ocular.phar
- php ocular.phar code-coverage:upload --format=php-clover build/logs/clover.xml
after_success:
- travis_retry php vendor/bin/coveralls -v