forked from unikent/baum
-
Notifications
You must be signed in to change notification settings - Fork 39
/
Copy path.travis.yml
76 lines (65 loc) · 1.89 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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
language: php
php:
# - 5.5.9
# - 5.6 # Version 5.6.40 | End of Life: 10 Jan 2019
# - 7.0 # Version 7.0.33 | End of Life: 10 Jan 2019
# - 7.1 # Version 7.1.33 | End of Life: 1 Dec 2019
- 7.2 # Version 7.2.30 | End of Life: 30 Nov 2020
- 7.3 # End of Life: 6 Dec 2021
- 7.4 # End of Life: 28 Nov 2022
# - hhvm
env:
#- TESTBENCH=3.7.*
- TESTBENCH=3.8.*
- TESTBENCH=3.*
- TESTBENCH=4.*
- TESTBENCH=5.*
#- TESTBENCH=dev-master
# blocklist
branches:
except:
- /^analysis-.*$/
before_install:
#- composer remove illuminate/support illuminate/console illuminate/database \
# illuminate/events illuminate/filesystem illuminate/support
- composer require --dev "phpunit/phpunit:8.*" --prefer-dist --no-update
- composer require --dev "orchestra/testbench:${TESTBENCH}" --prefer-dist --no-update
# if: ILLUMINATE=5.5.*
# - composer require --dev "orchestra/testbench:3.5.*"
# optionally set up exclusions and allowed failures in the matrix
matrix:
exclude:
- php: 7.2
env: TESTBENCH=dev-master
- php: 7.3
env: TESTBENCH=dev-master
- php: hhvm
env: TESTBENCH=3.8.*
- php: hhvm
env: TESTBENCH=3.9.*
- php: hhvm
env: TESTBENCH=4.*
# allow_failures:
# # https://github.com/sebastianbergmann/phpunit/issues/4038
# - php: 7.3
# env: TESTBENCH=4.*
# - php: 7.3
# env: TESTBENCH=5.*
# - php: 7.4
# env: TESTBENCH=4.*
# - php: 7.4
# env: TESTBENCH=5.*
before_script:
- travis_retry composer self-update
- travis_retry composer install --no-interaction
script:
- mkdir -p build/logs
- phpunit --verbose --coverage-clover build/logs/clover.xml
# - vendor/bin/phpunit --verbose
after_success:
- travis_retry php vendor/bin/php-coveralls
#after_script:
# - travis_retry php vendor/bin/coveralls -v
# configure notifications (email, IRC, campfire etc)
notifications:
irc: "irc.freenode.org#poing"