Skip to content

Commit 43a85c7

Browse files
committed
Add travis CI
Signed-off-by: Jack Cherng <jfcherng@gmail.com>
1 parent dddd7bd commit 43a85c7

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

.travis.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
language: php
2+
3+
php:
4+
- 7.1
5+
- 7.2
6+
- 7.3
7+
8+
cache:
9+
directories:
10+
- $HOME/.composer/cache
11+
12+
before_install:
13+
- pecl install -f ast
14+
15+
install:
16+
- rm -f composer.lock # temporary fix for PHPUnit 8
17+
- composer install --prefer-dist --no-progress
18+
19+
script:
20+
- composer analyze
21+
- composer test

0 commit comments

Comments
 (0)