Skip to content

Commit 282b1c9

Browse files
authored
Merge pull request #6 from vanilla/feature/update-to-1dot2
Update htmLawed to 1.2
2 parents 95c93cf + e69d782 commit 282b1c9

2 files changed

Lines changed: 125 additions & 109 deletions

File tree

.travis.yml

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,20 @@ branches:
1515
- upstream
1616

1717
install:
18-
- composer install
18+
- composer self-update
19+
- composer install -o
20+
- |
21+
if [[ ${TRAVIS_PHP_VERSION:0:2} == "7." ]]; then
22+
composer require "phpunit/phpunit=~5.7"
23+
else
24+
if [[ ${TRAVIS_PHP_VERSION:0:3} == "5.6" ]]; then
25+
composer require "phpunit/phpunit=~5"
26+
else
27+
composer require "phpunit/phpunit=~4.8"
28+
fi
29+
fi
1930
20-
script: phpunit -c phpunit.xml.dist --coverage-clover=coverage.clover
31+
script: ./vendor/bin/phpunit -c phpunit.xml.dist --coverage-clover=coverage.clover
2132

2233
after_script:
2334
- wget https://scrutinizer-ci.com/ocular.phar

0 commit comments

Comments
 (0)