Skip to content

Commit 3f73578

Browse files
committed
Travis build refactored
1 parent 62c76f8 commit 3f73578

File tree

1 file changed

+9
-10
lines changed

1 file changed

+9
-10
lines changed

.travis.yml

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2,24 +2,23 @@ language: php
22

33
sudo: false
44

5-
env:
6-
global:
7-
- PHP_LATEST_VERSION=0
8-
95
matrix:
10-
fast_finish: true
11-
include:
12-
- php: 7.0
13-
- php: 7.1
14-
env: PHP_LATEST_VERSION=1
6+
fast_finish: true
7+
include:
8+
- php: 7.0
9+
- php: 7.1
10+
- php: 7.2
11+
env: COMPOSER_FLAGS="--ignore-platform-reqs"
12+
- php: nightly
13+
env: COMPOSER_FLAGS="--ignore-platform-reqs"
1514

1615
cache:
1716
directories:
1817
- $HOME/.composer
1918

2019
install:
2120
- phpenv config-rm xdebug.ini
22-
- composer install --prefer-dist
21+
- composer install --prefer-dist $COMPOSER_FLAGS
2322

2423
script:
2524
- php --no-php-ini ./vendor/bin/phpunit

0 commit comments

Comments
 (0)