-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy path.travis.yml
45 lines (37 loc) · 1.08 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
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
addons:
apt:
packages: valgrind
notifications:
email: [email protected]
before_script:
- sudo apt-get install -y wget
- wget https://www.foundationdb.org/downloads/5.1.7/ubuntu/installers/foundationdb-clients_5.1.7-1_amd64.deb
- wget https://www.foundationdb.org/downloads/5.1.7/ubuntu/installers/foundationdb-server_5.1.7-1_amd64.deb
- sudo dpkg -i foundationdb-clients_5.1.7-1_amd64.deb foundationdb-server_5.1.7-1_amd64.deb
- sudo service foundationdb start
- phpize && ./configure && make clean && make
branches:
only:
- master
- develop
script:
- ./travis/run-test.sh
- make clean && phpize --clean
- phpize && ./configure && 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=foundationdb.so -P --show-diff --set-timeout 120; fi