forked from NoiseByNorthwest/php-spx
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
46 lines (46 loc) · 1.35 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
46
language: php
php:
- 5.6
- 7.0
- 7.1
- 7.2
- 7.3
- 7.4
matrix:
include:
# `php: ..` in here is just descriptive/for UI, they don't affect installed ver.
# FIXME PHP 5.6 & 7.0 don't work anymore
# see here for more details: https://travis-ci.org/NoiseByNorthwest/php-spx/jobs/570820077
# - os: osx
# php: "5.6"
# language: generic
# before_install:
# - brew update && brew install php@5.6 && brew link --force --overwrite php@5.6
# - os: osx
# php: "7.0"
# language: generic
# before_install:
# - brew update && brew install php@7.0 && brew link --force --overwrite php@7.0
# FIXME PHP 7.1+ does not work anymore
# error ex: brew update && brew install php@7.1 && brew link --force --overwrite php@7.1
# see: https://travis-ci.org/NoiseByNorthwest/php-spx/jobs/449244542
# - os: osx
# php: "7.1"
# language: generic
# before_install:
# - brew update && brew install php@7.1 && brew link --force --overwrite php@7.1
# - os: osx
# php: "7.2"
# language: generic
# before_install:
# - brew update && brew install php@7.2 && brew link --force --overwrite php@7.2
install:
- phpize
- ./configure
- make
- make install
script:
- export NO_INTERACTION=1
- export REPORT_EXIT_STATUS=1
- export TEST_PHP_ARGS="--show-diff"
- make test