Skip to content

Commit f769872

Browse files
committed
Adding Travis integration
1 parent 9aae8f8 commit f769872

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

.travis.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
language: php
2+
3+
sudo: false
4+
5+
cache:
6+
directories:
7+
- $HOME/.composer/cache
8+
9+
matrix:
10+
include:
11+
- php: 7.1
12+
env: DEPENDENCIES='low'
13+
- php: 5.6
14+
- php: 7.0
15+
- php: 7.1
16+
- php: nightly
17+
allow_failures:
18+
- php: nightly
19+
fast_finish: true
20+
21+
install:
22+
- if [ "$DEPENDENCIES" != "low" ]; then composer update; fi;
23+
- if [ "$DEPENDENCIES" == "low" ]; then composer update --prefer-lowest; fi;
24+
25+
script:
26+
- ./vendor/bin/phpunit

0 commit comments

Comments
 (0)