xref: /php-ast/.travis.yml (revision 28f5201f)
1sudo: false
2language: php
3
4php:
5  - 7.0
6  - 7.1
7  - 7.2
8  - 7.3
9  - 7.4
10  - 8.0
11  - nightly
12
13before_script:
14  # Disable Xdebug because it should be unrelated to the functionality of php-ast being tested.
15  # Xdebug will have issues as PHP 8.1.0-dev/nightly's internal functionality changes.
16  - phpenv config-rm xdebug.ini || true
17  - phpize
18  - ./configure
19  - make
20  - make install
21  - echo "extension=ast.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini
22
23script:
24  - REPORT_EXIT_STATUS=1 php ./run-tests.php -P -q --show-diff
25
26