-
-
Notifications
You must be signed in to change notification settings - Fork 235
/
.travis.yml
44 lines (36 loc) · 852 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
language: php
compiler:
- gcc
- clang
os:
- linux
matrix:
include:
- php: 7.0
env: USE_VALGRIND=1
- php: 7.1
env: USE_VALGRIND=1
- php: 7.2
env: USE_VALGRIND=1
- php: 7.3
- php: 7.4
- php: nightly
addons:
apt:
packages: valgrind
notifications:
email: dev@service.viest.me
before_script:
- php -m
- git submodule update --init
- sudo apt-get install zlib1g-dev -y
- phpize && ./configure --enable-reader && make clean && make
branches:
only:
- master
- dev
script:
- ./travis/run-test.sh
- make clean && phpize --clean
- phpize && ./configure --enable-reader && make clean && make
- if [ -n "$USE_VALGRIND" ]; then REPORT_EXIT_STATUS=1 php -n run-tests.php -m -n -d extension_dir=./modules/ -d extension=xlswriter.so -P --show-all --set-timeout 120; fi