forked from zendframework/zendframework
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
36 lines (29 loc) · 899 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
34
35
36
language: php
php:
- 5.3
- 5.4
- 5.5
- 5.6
- hhvm
install:
- sudo apt-get install parallel
- composer install --dev
before_script:
- mkdir -p build/coverage
- cp tests/TestConfiguration.php.travis tests/TestConfiguration.php
script:
- bin/check-cs.sh
# Run tests for the various components in parallel
- ls -d tests/ZendTest/* | parallel --gnu --keep-order 'echo "Running {} tests"; ./vendor/bin/phpunit -c tests/phpunit.xml.dist --coverage-php build/coverage/coverage-{/.}.cov {};' || exit 1
after_script:
# Merges the individual clover reports of each component into a single clover.xml
- php vendor/bin/phpcov.php --merge --clover build/logs/clover.xml --whitelist library build/coverage
- php vendor/bin/coveralls
notifications:
irc: "irc.freenode.org#zftalk.dev"
email: false
matrix:
fast_finish: true
allow_failures:
- php: 5.6
- php: hhvm