Skip to content

Commit

Permalink
Force old version of assets when testing php 5.6
Browse files Browse the repository at this point in the history
  • Loading branch information
bummzack committed Aug 26, 2020
1 parent 66e87c4 commit 53370d9
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,13 @@ matrix:
include:
- php: 5.6
env:
- PHP5=1
- PHPCS_TEST=1
- PHPUNIT_TEST=1
- php: 7.0
env:
- PHPUNIT_TEST=1
- php: 7.1
- php: 7.4
env:
- PHPUNIT_COVERAGE_TEST=1

Expand All @@ -31,6 +32,7 @@ before_script:
- composer update

script:
- if [[ $PHP5 ]]; then composer require silverstripe/assets 1.4.8; fi
- if [[ $PHPUNIT_TEST ]]; then vendor/bin/phpunit; fi
- if [[ $PHPUNIT_COVERAGE_TEST ]]; then phpdbg -qrr vendor/bin/phpunit --coverage-clover=coverage.xml; fi
- if [[ $PHPCS_TEST ]]; then composer run-script lint; fi
Expand Down

0 comments on commit 53370d9

Please sign in to comment.