Skip to content

Commit 8b63baf

Browse files
+ Added Travis CI integration
1 parent 9c6f881 commit 8b63baf

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed

.travis.yml

+30
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
language: php
2+
3+
env:
4+
global:
5+
- SETUP=stable
6+
7+
matrix:
8+
fast_finish: true
9+
include:
10+
- php: 7.3
11+
- php: 7.3
12+
env: SETUP=lowest
13+
- php: 7.4
14+
- php: 7.4
15+
env: SETUP=lowest
16+
17+
cache:
18+
directories:
19+
- $HOME/.composer/cache
20+
21+
before_install:
22+
- phpenv config-rm xdebug.ini || true
23+
- travis_retry composer self-update
24+
25+
install:
26+
- if [[ $SETUP = 'stable' ]]; then travis_retry composer update --prefer-dist --no-interaction --prefer-stable --no-suggest; fi
27+
- if [[ $SETUP = 'lowest' ]]; then travis_retry composer update --prefer-dist --no-interaction --prefer-lowest --prefer-stable --no-suggest; fi
28+
- composer show -D
29+
30+
script: vendor/bin/phpunit

0 commit comments

Comments
 (0)