Define each job under jobs.include

This commit is contained in:
Dominic Jodoin 2018-08-13 21:07:53 -04:00 committed by GitHub
parent 0d20175b0a
commit 0ddc64c3e4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,9 +1,4 @@
language: php language: php
php:
- '7.0'
- '7.1'
- '7.2'
- nightly
cache: cache:
directories: directories:
@ -29,7 +24,18 @@ jobs:
script: script:
- vendor/bin/php-cs-fixer fix -v --dry-run - vendor/bin/php-cs-fixer fix -v --dry-run
- stage: Test - stage: Test
php: 7.0
script: script:
- vendor/bin/phpunit - vendor/bin/phpunit
- php: 7.1
script:
- vendor/bin/phpunit
- php: 7.2
script:
- vendor/bin/phpunit
- php: nightly
script:
- vendor/bin/phpunit
allow_failures: allow_failures:
- php: nightly - php: nightly