Skip to content

Commit 61c169a

Browse files
committed
Add Travis config
1 parent 9b88669 commit 61c169a

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed

.travis.yml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
language: php
2+
3+
dist: xenial
4+
5+
matrix:
6+
fast_finish: true
7+
allow_failures:
8+
- php: nightly
9+
include:
10+
- php: 7.1
11+
- php: 7.2
12+
- php: 7.3
13+
- php: nightly
14+
15+
sudo: false
16+
17+
cache:
18+
directories:
19+
- "$HOME/.composer/cache"
20+
21+
env:
22+
- COMPOSER_NO_INTERACTION=1
23+
24+
install:
25+
- travis_retry composer install --no-suggest
26+
27+
script:
28+
- composer validate --strict
29+
- find src -name *.php | xargs -n 1 php -l
30+
- vendor/bin/php-cs-fixer fix --dry-run

0 commit comments

Comments
 (0)