Skip to content

Commit 662cfdc

Browse files
Merge pull request #49 from async-interop/travis
Add Travis configuration
2 parents c258d67 + 2530ff0 commit 662cfdc

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

.travis.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
language: php
2+
3+
php:
4+
- 5.5
5+
- 5.6
6+
- 7.0
7+
- nightly
8+
- hhvm
9+
10+
matrix:
11+
allow_failures:
12+
- php: nightly
13+
fast_finish: true
14+
15+
cache:
16+
directories:
17+
- $HOME/.composer/cache
18+
19+
install:
20+
- composer install
21+
- composer show
22+
23+
script:
24+
- find -name "*.php" -not -path "./vendor/*" -print0 | xargs -n 1 -0 php -l
25+
- $(php -r 'if (PHP_MAJOR_VERSION >= 7) echo "phpdbg -qrr"; else echo "php";') vendor/bin/phpunit --coverage-text --coverage-clover build/logs/clover.xml

0 commit comments

Comments
 (0)