-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
59 lines (49 loc) · 1.01 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
language: php
php:
- 'master'
- '7.3'
- '7.2'
- '7.1'
git:
depth: 1
addons:
apt:
packages:
- re2c
matrix:
fast_finish: true
allow_failures:
- php: 'master'
cache:
apt: true
timeout: 604800
directories:
- ${HOME}/.composer/cache
- ${HOME}/.local/opt
env:
global:
- DEFAULT_COMPOSER_FLAGS="-n --no-ansi --no-progress --dev --prefer-dist --no-suggest"
- ZEPHIR_VERSION="0.11.8"
- PATH="${HOME}/.composer/vendor/bin:${PATH}"
branches:
only:
- master
- development
install:
- .ci/install-prereqs.sh
- travis_retry composer install ${DEFAULT_COMPOSER_FLAGS}
- travis_retry composer global require ${DEFAULT_COMPOSER_FLAGS} "phalcon/zephir:${ZEPHIR_VERSION}"
- .ci/build.sh
script:
#test extension
- mv src src_
- ./vendor/bin/phpunit
# disable extension and test php
- phpenv config-rm sanitizer.ini
# - php -m | grep sanitizer
- mv src_ src
- ./vendor/bin/phpunit
after_failure:
- .ci/after-failure.sh
notifications:
email: false