forked from contao/core-bundle
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.travis.yml
More file actions
38 lines (29 loc) · 696 Bytes
/
Copy path.travis.yml
File metadata and controls
38 lines (29 loc) · 696 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
language: php
git:
depth: 1
cache:
directories:
- $HOME/.composer/cache
sudo: false
env:
global:
- COMPOSER_ALLOW_XDEBUG=0
matrix:
include:
- php: 5.6
- php: 7.0
- php: 7.1
- php: 7.1
env: COMPOSER_FLAGS='--prefer-lowest --prefer-stable'
- php: 7.1
env: COVERAGE='--exclude-group contao3 --coverage-clover build/logs/clover.xml'
fast_finish: true
before_install:
- composer selfupdate
before_script:
- travis_wait composer update $COMPOSER_FLAGS --no-interaction
script:
- if [[ $COVERAGE ]]; then mkdir -p build/logs; fi
- php vendor/bin/phpunit $COVERAGE
after_script:
- if [[ $COVERAGE ]]; then php vendor/bin/coveralls; fi