-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path.travis.yml
65 lines (51 loc) · 1.25 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
language: php
php:
- 8.0
os: linux
dist: bionic
env:
global:
- PHALCON_VERSION="v5.0.0beta2"
git:
depth: 1
matrix:
fast_finish: true
cache:
timeout: 604800
directories:
- $HOME/.composer/cache
- $HOME/assets
services:
- memcached
before_install:
# php ini settings
- php -i
- export INI=~/.phpenv/versions/$(phpenv version-name)/etc/conf.d/travis.ini
- echo memory_limit = -1 >> $INI
- echo opcache.enable_cli = 1 >> $INI
# suppress git advisories
- git config --global advice.detachedHead false
install:
- pecl install --force psr
- travis_wait .ci/install-phalcon.sh
- travis_retry composer update --no-interaction --no-progress --no-ansi --no-suggest
before_script:
- phpenv config-rm xdebug.ini
- pecl install pcov
script:
- vendor/bin/codecept clean
- vendor/bin/codecept build --quiet
- vendor/bin/codecept run --coverage --coverage-xml
jobs:
include:
- stage: Test coverage
if: branch = 5.x AND type = push
php: 8.0
script:
- make coverage
after_script:
- composer global require php-coveralls/php-coveralls ^2.4
- ~/.composer/vendor/bin/php-coveralls --verbose --config tests/.coveralls.yml
notifications:
email:
- dominic.beck360@gmail.com