forked from Ocramius/ProxyManager
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
48 lines (41 loc) · 1.61 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
language: php
cache: false
sudo: false
php:
- 7.4snapshot
- nightly
env:
matrix:
- DEPENDENCIES="high"
- DEPENDENCIES="low"
global:
- GIT_NAME: "'Marco Pivetta'"
- GIT_EMAIL: [email protected]
- GH_REF: github.com/Ocramius/ProxyManager
- secure: HUDB66EnmKFx2A+E3HxvuX/7XSjgfNy8dnzcpG+K9mf/JM5JXZflK3xO3J3LCgSQG6Ptwr2yy//7vX+PdJMdSRTmP+d/dy6v8yLRP+GvYZXLIbuKg7dQjLerOxJcy9JhU2eAEBevc002PwFqLalfhCyWLvLiCof8++E2uGbvTSU=
before_script:
- sh .travis.install.sh
script:
- ./vendor/bin/phpunit --disallow-test-output --coverage-clover ./clover.xml --group=Coverage
- ./vendor/bin/phpunit --disallow-test-output --exclude-group=Coverage
- php -n ./vendor/bin/phpbench run --revs=100 --iterations=3 --warmup=1 --report=aggregate
- echo "Running examples"
- php examples/access-interceptor-scope-localizer.php
- php examples/ghost-object.php
- php examples/ghost-object-skipped-properties.php
- php examples/smart-reference.php
- php examples/virtual-proxy.php
- php tests/static-analysis/access-interceptor-scope-localizer.php
- php tests/static-analysis/lazy-loading-ghost-object.php
- php tests/static-analysis/null-object.php
- php tests/static-analysis/access-interceptor-value-holder.php
- php tests/static-analysis/lazy-loading-value-holder.php
- php tests/static-analysis/remote-object.php
- ./vendor/bin/phpcs || true
- ./vendor/bin/psalm
- ulimit -n 4096 && phpdbg -qrr ./vendor/bin/infection -vvv --test-framework-options='--testsuite=unit' --min-msi=84 --min-covered-msi=86
matrix:
allow_failures:
- php: nightly
after_script:
- sh .travis.coverage.sh