forked from phpro/grumphp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
45 lines (37 loc) · 911 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
35
36
37
38
39
40
41
42
43
44
45
language: php
php:
- 7.3
- 7.4
- nightly
env:
matrix:
- COMPOSER_VERSION=1
- COMPOSER_VERSION=2
- COMPOSER_VERSION=1 DEPENDENCIES=--prefer-lowest
cache:
directories:
- ~/.cache/composer
matrix:
fast_finish: true
allow_failures:
- php: nightly
before_install:
- phpenv config-rm xdebug.ini || true
- alias composer=composer\ --no-interaction && composer selfupdate --$COMPOSER_VERSION
- |
if [ $COMPOSER_VERSION -eq 1 ]; then
composer global require hirak/prestissimo
fi;
- |
if [ "$TRAVIS_PHP_VERSION" = "nightly" ]; then
export DEPENDENCIES="$DEPENDENCIES --ignore-platform-reqs"
fi;
install:
- travis_retry composer update --no-progress --profile --no-scripts --no-suggest $DEPENDENCIES
script:
- bin/grumphp run --no-interaction
notifications:
irc:
skip_join: true
channels:
- chat.freenode.net#grumphp