From 61e9d96439f46ac0e848d1227d063d8dc7a56c91 Mon Sep 17 00:00:00 2001 From: Ne-Lexa Date: Thu, 9 Jan 2020 12:53:47 +0300 Subject: [PATCH] fix travis syntax --- .travis.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.travis.yml b/.travis.yml index 70db080..3cee524 100644 --- a/.travis.yml +++ b/.travis.yml @@ -44,10 +44,10 @@ matrix: - os: linux php: nightly dist: bionic + env: ZIPALIGN_INSTALL=true before_install: - if [[ $COVERAGE != true ]]; then phpenv config-rm xdebug.ini || true; fi - - php --version install: - travis_retry composer self-update && composer --version @@ -60,12 +60,12 @@ addons: - p7zip-full 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: - composer validate --no-check-lock - vendor/bin/phpunit -v -c phpunit.xml --testsuite only_fast_tests --coverage-clover=coverage.clover after_success: - - if [[ $COVERAGE = true ]]; 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 wget https://scrutinizer-ci.com/ocular.phar; fi + - if [[ $COVERAGE = true ]]; then php ocular.phar code-coverage:upload --format=php-clover coverage.clover; fi