Skip to content

Commit 681432d

Browse files
miladrahimiMilad Rahimi
authored andcommitted
add travis config
1 parent a3eb56a commit 681432d

File tree

1 file changed

+33
-0
lines changed

1 file changed

+33
-0
lines changed

.travis.yml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
sudo: required
2+
3+
language: php
4+
5+
php:
6+
- 7.0
7+
- 7.1
8+
- 7.2
9+
10+
branches:
11+
only:
12+
- master
13+
14+
before_install:
15+
- travis_retry composer self-update
16+
17+
before_script:
18+
- composer install --no-interaction --no-suggest
19+
20+
script:
21+
- composer install
22+
- vendor/bin/phpunit
23+
24+
cache:
25+
directories:
26+
- $HOME/.composer/cache
27+
28+
notifications:
29+
email:
30+
recipients:
31+
32+
on_success: change
33+
on_failure: always

0 commit comments

Comments
 (0)