mirror of
https://github.com/retailcrm/mailgun-php.git
synced 2024-11-25 14:26:04 +03:00
Always run "composer test-all" (#337)
This PR will also remove the "IS_PR"-check
This commit is contained in:
parent
f2dfd56224
commit
1e33bc5545
@ -13,19 +13,20 @@ php:
|
|||||||
- 7.1
|
- 7.1
|
||||||
- hhvm
|
- hhvm
|
||||||
|
|
||||||
|
env:
|
||||||
|
- TEST_COMMAND="composer test-all"
|
||||||
|
|
||||||
matrix:
|
matrix:
|
||||||
fast_finish: true
|
fast_finish: true
|
||||||
include:
|
include:
|
||||||
- php: 5.5
|
- php: 5.5
|
||||||
env: COMPOSER_FLAGS="--prefer-stable --prefer-lowest" PREFER_COVERAGE=true
|
env: COMPOSER_FLAGS="--prefer-stable --prefer-lowest" COVERAGE=true
|
||||||
|
|
||||||
install:
|
install:
|
||||||
- travis_retry composer update ${COMPOSER_FLAGS} --prefer-source --no-interaction
|
- travis_retry composer update ${COMPOSER_FLAGS} --prefer-source --no-interaction
|
||||||
|
|
||||||
before_script:
|
before_script:
|
||||||
- TEST_COMMAND="composer test-all"
|
- 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:
|
||||||
- echo $TEST_COMMAND
|
- echo $TEST_COMMAND
|
||||||
|
Loading…
Reference in New Issue
Block a user