mirror of
https://github.com/danog/endtoend-test-psl.git
synced 2024-12-02 09:38:32 +01:00
update travis configurations
This commit is contained in:
parent
12f515b5a1
commit
ab0f4e84c5
32
.travis.yml
32
.travis.yml
@ -4,24 +4,36 @@ language: php
|
|||||||
os:
|
os:
|
||||||
- linux
|
- linux
|
||||||
|
|
||||||
php:
|
|
||||||
- '7.4'
|
|
||||||
- nightly
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
allow_failures:
|
include:
|
||||||
|
- php: 7.4
|
||||||
- php: nightly
|
- php: nightly
|
||||||
|
env: IGNORE_PLATFORM_REQS=true
|
||||||
|
- php: 7.4
|
||||||
|
env: CS_CHECK=true
|
||||||
|
- php: 7.4
|
||||||
|
env: TYPE_CHECK=true
|
||||||
|
|
||||||
|
allow_failures:
|
||||||
|
- php: 7.4
|
||||||
|
env: TYPE_CHECK=true
|
||||||
|
|
||||||
|
- php: 7.4
|
||||||
|
env: CS_CHECK=true
|
||||||
|
|
||||||
|
fast_finish: true
|
||||||
|
|
||||||
install:
|
install:
|
||||||
|
- php --version
|
||||||
- composer self-update
|
- composer self-update
|
||||||
- composer --version
|
- composer --version
|
||||||
- composer install
|
- if [[ $IGNORE_PLATFORM_REQS = 'true' ]]; then composer install --ignore-platform-reqs; else composer install; fi
|
||||||
|
|
||||||
script:
|
script:
|
||||||
- composer cs:check
|
|
||||||
- composer type:check
|
|
||||||
- composer test:unit
|
- composer test:unit
|
||||||
|
- if [[ $CS_CHECK = 'true' ]]; then composer cs:check; fi
|
||||||
|
- if [[ $TYPE_CHECK = 'true' ]]; then composer type:check; fi
|
||||||
|
|
||||||
after_script:
|
after_script:
|
||||||
- composer type:coverage
|
- if [[ $NIGHTLY != 'true' ]]; then composer code:coverage; fi
|
||||||
- composer code:coverage
|
- if [[ $TYPE_CHECK = 'true' ]]; then composer type:coverage; fi
|
||||||
|
Loading…
Reference in New Issue
Block a user