-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
29 lines (24 loc) · 994 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
language: php
php:
- 5.5
- 5.4
- 5.3
matrix:
allow_failures:
- php: 5.5
before_script:
- curl -s http://getcomposer.org/installer | php
- php composer.phar install --dev --no-interaction
script:
- mkdir -p build/logs
- php vendor/bin/phpcs --report=checkstyle --report-file=build/logs/checkstyle.xml --standard=build/config/phpcs.xml --ignore=*.html.php,*.config.php,*.twig.php src
- php vendor/bin/phpmd src xml build/config/phpmd.xml --reportfile build/logs/pmd.xml
- php vendor/bin/phpunit -c travis.phpunit.xml --testdox
after_script:
- curl -s https://gist.github.com/satooshi/4750401/raw > travis/ColorCLI.php
- curl -s https://gist.github.com/satooshi/4752226/raw > travis/junit.php
- curl -s https://gist.github.com/satooshi/4958593/raw > travis/pmd.php
- curl -s https://gist.github.com/satooshi/4958909/raw > travis/checkstyle.php
- php travis/checkstyle.php
- php travis/pmd.php
- php travis/junit.php