-
Notifications
You must be signed in to change notification settings - Fork 2
/
.travis.yml
47 lines (39 loc) · 838 Bytes
/
.travis.yml
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
39
40
41
42
43
44
45
46
47
language: php
php:
- 5.3
- 5.4
- 5.5
- 5.6
- 7.0
- 7.1
- 7.2
- hhvm
# set up allowed failures in the matrix
matrix:
allow_failures:
- php: 5.3
- php: 5.4
- php: 5.5
- php: 7.0
- php: 7.1
- php: hhvm
fast_finish: true
cache:
directories:
- $HOME/.composer/cache/files
before_install:
- sudo apt-get update -qq
install:
- curl -sS https://getcomposer.org/installer | php
- composer self-update
- composer install --prefer-source --no-interaction --dev
# - if [[ $HHVM == true ]]; then composer require "phpunit/phpunit:5.7"; fi
before_script:
- php --version
- php composer.phar composer --version
- php composer.phar install
- travis_retry composer install --dev --prefer-dist
script:
- phpunit .
after_failure:
- cat MSBuild_*.failure.txt