-
Notifications
You must be signed in to change notification settings - Fork 2
/
.travis.yml
49 lines (40 loc) · 1023 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
language: php
sudo: false
dist: trusty
env:
global:
- XDEBUG_MODE=coverage
- deps=default
matrix:
include:
# - php: 7.1
- php: 7.4
- php: 8.0
- php: 8.1
- php: 8.2
fast_finish: true
notifications:
email:
on_success: change
on_failure: always
before_install:
- composer self-update
- composer clear-cache
before_script:
- cd php/
# - if [ "$deps" = "low" ]; then composer --prefer-lowest --prefer-stable update; fi;
# - if [ "$deps" = "default" ]; then composer update; fi;
# - if [ "$deps" = "default" ]; then composer install; fi;
- composer update
- composer install
# - ls -la
# - ls -la vendor/
- cp config-test.php config.php
- cp secrets/config-secrets-default.json secrets/config-secrets.json
# - cd ../
script:
# - phpunit -d zend.enable_gc=0 --coverage-text
- php vendor/bin/phpunit --coverage-text --verbose --debug
#script: phpunit -d zend.enable_gc=0 --verbose --debug
notifications:
irc: "irc.freenode.org#softhaus"