Skip to content

Commit 375403b

Browse files
committed
Configur Travis
1 parent 246ab6d commit 375403b

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+
sudo: false
2+
3+
language: php
4+
5+
matrix:
6+
fast_finish: true
7+
include:
8+
- php: 7.0
9+
- php: 7.1
10+
env:
11+
- EXECUTE_COVERAGE=true
12+
allow_failures:
13+
- php: 7.0
14+
15+
notifications:
16+
email: false
17+
18+
before_install:
19+
- phpenv config-rm xdebug.ini || return 0
20+
- mkdir -p ./build/logs || return 0
21+
22+
install:
23+
- composer self-update
24+
- composer install --no-interaction --prefer-source
25+
26+
script:
27+
# PHPUnit
28+
- if [[ $EXECUTE_COVERAGE == 'true' ]]; then phpdbg -qrr ./vendor/bin/phpunit --coverage-text --coverage-clover=./build/logs/clover.xml ; fi
29+
- if [[ $EXECUTE_COVERAGE != 'true' ]]; then ./vendor/bin/phpunit ; fi
30+

0 commit comments

Comments
 (0)