mirror of
https://github.com/retailcrm/mailgun-php.git
synced 2024-11-28 07:46:07 +03:00
Added test for BC breaks (#531)
* Added test for BC breaks * typo * Disable the BC test * Update .travis.yml * Try to disable test better
This commit is contained in:
parent
6e65a0613e
commit
4a903b2ec0
15
.travis.yml
15
.travis.yml
@ -24,14 +24,17 @@ matrix:
|
|||||||
include:
|
include:
|
||||||
- php: 7.1
|
- php: 7.1
|
||||||
env: COMPOSER_FLAGS="--prefer-stable --prefer-lowest" PREFER_COVERAGE=true
|
env: COMPOSER_FLAGS="--prefer-stable --prefer-lowest" PREFER_COVERAGE=true
|
||||||
|
- name: Backward compatibility test (Disabled)
|
||||||
|
php: 7.3
|
||||||
|
env: DEPENDENCIES="roave/backward-compatibility-check"
|
||||||
|
script: ./vendor/bin/roave-backward-compatibility-check || true
|
||||||
|
|
||||||
|
before_install:
|
||||||
|
- if [[ "$PREFER_COVERAGE" = true ]] && [[ "$TRAVIS_PULL_REQUEST" = false ]]; then TEST_COMMAND="composer test-coverage" COVERAGE=true; fi
|
||||||
|
- if ! [ -z "$DEPENDENCIES" ]; then composer require --no-update ${DEPENDENCIES}; fi;
|
||||||
|
|
||||||
install:
|
install:
|
||||||
- travis_retry composer update ${COMPOSER_FLAGS} --prefer-source --no-interaction
|
- composer update ${COMPOSER_FLAGS} --prefer-dist --no-interaction
|
||||||
|
|
||||||
before_script:
|
|
||||||
- if [[ "COVERAGE" = true ]]; then TEST_COMMAND="composer test-coverage"; fi
|
|
||||||
- if ! [[ "$TRAVIS_PULL_REQUEST" = false ]]; then TEST_COMMAND="composer test"; fi
|
|
||||||
- if [[ "$PREFER_COVERAGE" = true ]] && [[ "$TRAVIS_PULL_REQUEST" = false ]]; then TEST_COMMAND="composer test-coverage" COVERAGE=true; fi
|
|
||||||
|
|
||||||
script:
|
script:
|
||||||
- composer validate --strict --no-check-lock
|
- composer validate --strict --no-check-lock
|
||||||
|
Loading…
Reference in New Issue
Block a user