Skip to content

Commit e75bee9

Browse files
committed
build(travis): add travis yml
1 parent 21b5b8a commit e75bee9

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

.travis.yml

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

0 commit comments

Comments
 (0)