forked from ramsey/uuid-doctrine
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
56 lines (50 loc) · 1.53 KB
/
.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
56
language: php
jobs:
fast_finish: true
include:
- php: 5.4
dist: trusty
- php: 5.4
dist: trusty
env: COMPOSER_OPTIONS="--prefer-lowest --prefer-stable"
- php: 5.5
dist: trusty
- php: 5.5
dist: trusty
env: COMPOSER_OPTIONS="--prefer-lowest --prefer-stable"
- php: 5.6
- php: 5.6
env: COMPOSER_OPTIONS="--prefer-lowest --prefer-stable"
- php: 7.0
- php: 7.0
env: COMPOSER_OPTIONS="--prefer-lowest --prefer-stable"
- php: 7.1
- php: 7.1
env: COMPOSER_OPTIONS="--prefer-lowest --prefer-stable"
- php: 7.2
- php: 7.2
env: COMPOSER_OPTIONS="--prefer-lowest --prefer-stable"
- php: 7.3
- php: 7.3
env: COMPOSER_OPTIONS="--prefer-lowest --prefer-stable"
- php: 7.4
- php: 7.4
env: COMPOSER_OPTIONS="--prefer-lowest --prefer-stable"
- php: nightly
env: COMPOSER_OPTIONS="--ignore-platform-reqs"
allow_failures:
- php: nightly
before_install:
- travis_retry composer self-update
install:
- travis_retry composer require --no-update "php-coveralls/php-coveralls:^1 | ^2"
- travis_retry composer update --no-interaction --prefer-dist --no-progress --no-suggest $COMPOSER_OPTIONS
- if [ -f vendor/bin/coveralls ]; then ln -s coveralls vendor/bin/php-coveralls; fi
before_script:
- mkdir -p build/logs
script:
- composer lint
- composer phpcs -- --warning-severity=0
- ./vendor/bin/phpunit --verbose --coverage-clover build/logs/clover.xml
after_success:
- travis_retry php vendor/bin/php-coveralls