mirror of
https://github.com/Ne-Lexa/php-zip.git
synced 2025-01-17 15:28:14 +01:00
fix travis syntax
This commit is contained in:
parent
800afffffa
commit
61e9d96439
@ -44,10 +44,10 @@ matrix:
|
|||||||
- os: linux
|
- os: linux
|
||||||
php: nightly
|
php: nightly
|
||||||
dist: bionic
|
dist: bionic
|
||||||
|
env: ZIPALIGN_INSTALL=true
|
||||||
|
|
||||||
before_install:
|
before_install:
|
||||||
- if [[ $COVERAGE != true ]]; then phpenv config-rm xdebug.ini || true; fi
|
- if [[ $COVERAGE != true ]]; then phpenv config-rm xdebug.ini || true; fi
|
||||||
- php --version
|
|
||||||
|
|
||||||
install:
|
install:
|
||||||
- travis_retry composer self-update && composer --version
|
- travis_retry composer self-update && composer --version
|
||||||
@ -60,12 +60,12 @@ addons:
|
|||||||
- p7zip-full
|
- p7zip-full
|
||||||
|
|
||||||
before_script:
|
before_script:
|
||||||
- if [[ ZIPALIGN_INSTALL = true ]]; sudo apt-get install -y zipalign; fi
|
- if [[ $ZIPALIGN_INSTALL = true ]]; then sudo apt-get install -y zipalign; fi
|
||||||
|
|
||||||
script:
|
script:
|
||||||
- composer validate --no-check-lock
|
- composer validate --no-check-lock
|
||||||
- vendor/bin/phpunit -v -c phpunit.xml --testsuite only_fast_tests --coverage-clover=coverage.clover
|
- vendor/bin/phpunit -v -c phpunit.xml --testsuite only_fast_tests --coverage-clover=coverage.clover
|
||||||
|
|
||||||
after_success:
|
after_success:
|
||||||
- if [[ $COVERAGE = true ]]; wget https://scrutinizer-ci.com/ocular.phar; fi
|
- if [[ $COVERAGE = true ]]; then wget https://scrutinizer-ci.com/ocular.phar; fi
|
||||||
- if [[ $COVERAGE = true ]]; php ocular.phar code-coverage:upload --format=php-clover coverage.clover; fi
|
- if [[ $COVERAGE = true ]]; then php ocular.phar code-coverage:upload --format=php-clover coverage.clover; fi
|
||||||
|
Loading…
x
Reference in New Issue
Block a user