Skip to content

Commit 954e7ee

Browse files
authored
enable nightly builds in travis-ci
1 parent f8324ec commit 954e7ee

1 file changed

Lines changed: 20 additions & 9 deletions

File tree

.travis.yml

Lines changed: 20 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,31 @@
11
language: php
22

3-
php:
4-
- "7.2"
5-
- "7.3"
6-
- "7.4"
7-
# - "nightly"
8-
9-
#allow_failures:
10-
# - "nightly"
3+
matrix:
4+
include:
5+
- php: 7.2
6+
dist: bionic
7+
env: COMPOSER_OPTS=""
8+
- php: 7.3
9+
dist: bionic
10+
env: COMPOSER_OPTS=""
11+
- php: 7.4
12+
dist: bionic
13+
env: COMPOSER_OPTS=""
14+
- php: nightly
15+
dist: bionic
16+
env: COMPOSER_OPTS="--ignore-platform-reqs"
17+
allow_failures:
18+
- php: nightly
19+
env: COMPOSER_OPTS="--ignore-platform-reqs"
1120

1221
cache:
1322
directories:
1423
- $HOME/.composer/cache
1524

25+
install:
26+
- travis_retry composer install $COMPOSER_OPTS
27+
1628
script:
17-
- composer install --ignore-platform-reqs
1829
- vendor/bin/grumphp run
1930
- composer test
2031
- composer infection

0 commit comments

Comments
 (0)