-
Notifications
You must be signed in to change notification settings - Fork 18
/
.travis.yml
37 lines (32 loc) · 966 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
language: php
sudo: yes
dist: bionic
env:
- PHPVER="8.0.0"
# This replaces the travis supplied phpbuild which defaults to ZTS enabled
# builds. Since we are replacing using the same config, we don't have to add
# the env stuff.
install:
- rm -rf ~/.phpenv
- sudo apt-get clean
- sudo apt-get update
- sudo apt-get install libzip-dev libonig-dev
- curl -L http://git.io/phpenv-installer | bash
- travis_wait phpenv install "${PHPVER}"
- phpenv global "${PHPVER}"
- phpenv rehash
before_script:
- php-config --extension-dir
- phpize
- ./configure
- make
- sed -i.stock -r -e 's/!mail_qa_team\(\$[[:alnum:]_]+,[[:space:]]*\$[[:alnum:]_]+,[[:space:]]*\$[[:alnum:]_]+\)/true/' run-tests.php
- sed -i.stock -e 's/run-tests\.php/run-tests.php --show-diff/' Makefile
script:
- REPORT_EXIT_STATUS=1 NO_INTERACTION=1 make test
notifications:
email:
recipients:
on_success: change
on_failure: always