Skip to content

Commit 61e6334

Browse files
committed
build: travis
1 parent ff05167 commit 61e6334

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

.travis.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
language: php
2+
3+
php:
4+
- 5.4
5+
- 5.5
6+
- 5.6
7+
- 7.0
8+
- 7.1
9+
10+
install:
11+
- composer install --prefer-dist
12+
13+
before_script:
14+
- for P in src tests; do find $P -type f -name '*.php' -exec php -l {} \;; done
15+
16+
script:
17+
- vendor/bin/phpunit --coverage-text --coverage-clover=coverage.xml
18+
19+
after_success:
20+
- bash <(curl -s https://codecov.io/bash)

0 commit comments

Comments
 (0)