forked from goetas-webservices/xsd2php
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.travis.yml
More file actions
31 lines (26 loc) · 713 Bytes
/
Copy path.travis.yml
File metadata and controls
31 lines (26 loc) · 713 Bytes
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
language: php
sudo: false
dist: trusty
cache:
directories:
- vendor
- $HOME/.composer/cache
php:
- 7.2
- 7.3
- 7.4
- 8.0
- 8.1
matrix:
include:
- php: 7.2
env: COMPOSER_FLAGS='--prefer-lowest --prefer-stable'
before_script:
- pecl install xmldiff
- composer self --1
- echo "xdebug.max_nesting_level=1000" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini
- if [[ $TRAVIS_PHP_VERSION == '7.'* ]]; then composer --dev require ocramius/package-versions:^1.0 --no-update; fi
- composer update $COMPOSER_FLAGS
script:
- vendor/phpunit/phpunit/phpunit $PHPUNIT_FLAGS
- bin/xsd2php convert tests/config.yml tests/JmsSerializer/OTA/otaxml/OTA_AirAvailRQ.xsd -vv