-
Notifications
You must be signed in to change notification settings - Fork 19
/
.travis.yml
45 lines (37 loc) · 926 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
language: php
php:
- 7.2
- 7.3
- 7.4
- nightly
env:
global:
- REPORT_EXIT_STATUS=1
matrix:
- ENABLE_OPCACHE=1
- ENABLE_OPCACHE=0
matrix:
allow_failures:
- php: nightly
env: ENABLE_OPCACHE=1
- php: nightly
env: ENABLE_OPCACHE=0
- php: 7.4
env: ENABLE_OPCACHE=1
- php: 7.4
env: ENABLE_OPCACHE=0
before_install:
- sudo apt-get update
- sudo apt-get install -y libmpdec-dev
- phpenv config-rm xdebug.ini || true
install:
- phpize
- ./configure
- make -j
- make install
before_script:
- echo "extension=decimal.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini
- echo "opcache.enable_cli=$ENABLE_OPCACHE" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini
script:
- wget -q -O run-tests.php https://raw.githubusercontent.com/php/php-src/master/run-tests.php
- php run-tests.php -P -q --show-diff