forked from beberlei/assert
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
55 lines (47 loc) · 900 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
48
49
50
51
52
53
54
55
language: php
git:
depth: 2
env:
global:
- OPCODE_CACHE=apc
matrix:
include:
- php: hhvm
- php: nightly
- php: 7.1
- php: 7.0
env:
- DISABLE_XDEBUG=true
- LINT=true
- php: 5.6
env:
- DISABLE_XDEBUG=true
- php: 5.5
env:
- DISABLE_XDEBUG=true
- php: 5.4
env:
- DISABLE_XDEBUG=true
- php: 5.3
env:
- DISABLE_XDEBUG=true
fast_finish: true
allow_failures:
- php: nightly
- php: 7.1 # Can fail due to https://bugs.php.net/bug.php?id=73426
cache:
directories:
- $HOME/.composer/cache
- $HOME/.php-cs-fixer
install:
- composer update
before_script:
- if [[ $DISABLE_XDEBUG = true ]]; then
phpenv config-rm xdebug.ini;
fi
script:
- if [[ $LINT = true ]]; then
composer assert:cs-lint;
./bin/travis/lint-docs;
fi
- php vendor/bin/phpunit