Skip to content

Commit e23d481

Browse files
committed
Trying to fix a syntax error for items with multiple lines.
1 parent f57926e commit e23d481

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

.travis.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -29,17 +29,17 @@ before_script:
2929
- sleep 3
3030

3131
script:
32-
- if [[ $TRAVIS_PHP_VERSION = '5.6' && $WP_VERSION = 'latest' && $WP_MULTISITE = '0'
33-
]]; then
32+
- |
33+
if [[ $TRAVIS_PHP_VERSION = '5.6' && $WP_VERSION = 'latest' && $WP_MULTISITE = '0' ]]; then
3434
bash test/run.sh -c test/settings.travis.cfg -l 'coverage.xml';
35-
else
35+
else
3636
bash test/run.sh -c test/settings.travis.cfg;
37-
fi
37+
fi
3838

3939
after_script:
40-
- if [[ $TRAVIS_PHP_VERSION = '5.6' && $WP_VERSION = 'latest' && $WP_MULTISITE = '0'
41-
]]; then
40+
- |
41+
if [[ $TRAVIS_PHP_VERSION = '5.6' && $WP_VERSION = 'latest' && $WP_MULTISITE = '0' ]]; then
4242
wget https://scrutinizer-ci.com/ocular.phar --no-check-certificate;
4343
php ocular.phar code-coverage:upload --format=php-clover 'coverage.xml';
4444
php test/coverage-checker.php 'coverage.xml' 80;
45-
fi
45+
fi

0 commit comments

Comments
 (0)