forked from viest/php-ext-xlswriter
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
43 lines (35 loc) · 850 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
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.4snapshot
- php: nightly
addons:
apt:
packages: valgrind
notifications:
email: [email protected]
before_script:
- 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-diff --set-timeout 120; fi