-
-
Notifications
You must be signed in to change notification settings - Fork 118
Expand file tree
/
Copy path.travis.yml
More file actions
31 lines (23 loc) · 748 Bytes
/
.travis.yml
File metadata and controls
31 lines (23 loc) · 748 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
dist: trusty
# list any PHP version you want to test against
php:
# using major version aliases
- 5.6
- 7.4
matrix:
allow_failures:
- php: 7.3
install:
- if [[ $TRAVIS_PHP_VERSION > '7.1' ]]; then wget -O ~/.phpenv/versions/$(phpenv version-name)/bin/phpunit https://phar.phpunit.de/phpunit-7.phar; fi
- if [[ $TRAVIS_PHP_VERSION > '7.1' ]]; then chmod 755 ~/.phpenv/versions/$(phpenv version-name)/bin/phpunit; fi
before_script:
- phpunit --version
- composer self-update
- composer install --prefer-source --no-interaction --dev
- composer update --lock
# omitting "script:" will default to phpunit
script:
- phpunit --configuration phpunit_phpspo.xml --coverage-text
notifications:
email: never