forked from phpstan/phpstan
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
34 lines (28 loc) · 830 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
language: php
php:
- 7.1
- 7.2
- master
env:
- dependencies=lowest
- dependencies=highest
matrix:
allow_failures:
- php: master
env: dependencies=lowest
- php: master
env: dependencies=highest
before_script:
- if php --ri xdebug >/dev/null; then phpenv config-rm xdebug.ini; fi
install:
- if [ "$dependencies" = "lowest" ]; then composer update --prefer-lowest --no-interaction; fi
- if [ "$dependencies" = "highest" ]; then composer update --no-interaction; fi
script:
- vendor/bin/phing
- >
wget https://github.com/maglnet/ComposerRequireChecker/releases/download/0.2.1/composer-require-checker.phar
&& php composer-require-checker.phar check --config-file=$PWD/build/composer-require-checker.json composer.json
cache:
directories:
- $HOME/.composer/cache
- tmp